aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-04-17 00:45:33 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-04-17 00:45:33 +0000
commit09777a4fc2ed0f2b09447eb89fb8cd4b99278944 (patch)
tree6bacd3d36ad24891153d55d573d776ca25065ce9 /src
parent03310713467b678812067b3edab82b23ed6b1c04 (diff)
Some trivial changes
Diffstat (limited to 'src')
-rw-r--r--src/getpass.c2
-rw-r--r--src/writeout.c4
-rw-r--r--src/writeout.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/getpass.c b/src/getpass.c
index d15e28903..b5f2bc4ec 100644
--- a/src/getpass.c
+++ b/src/getpass.c
@@ -184,7 +184,7 @@ static bool ttyecho(bool enable, int fd)
static struct_term noecho;
#endif
if(!enable) {
- /* dissable echo by extracting the current 'withecho' mode and remove the
+ /* disable echo by extracting the current 'withecho' mode and remove the
ECHO bit and set back the struct */
#ifdef HAVE_TERMIOS_H
tcgetattr(fd, &withecho);
diff --git a/src/writeout.c b/src/writeout.c
index 9d299f830..b45b7cba4 100644
--- a/src/writeout.c
+++ b/src/writeout.c
@@ -93,10 +93,10 @@ static const struct variable replacements[]={
{NULL, VAR_NONE}
};
-void ourWriteOut(CURL *curl, char *writeinfo)
+void ourWriteOut(CURL *curl, const char *writeinfo)
{
FILE *stream = stdout;
- char *ptr=writeinfo;
+ const char *ptr=writeinfo;
char *stringp;
long longinfo;
double doubleinfo;
diff --git a/src/writeout.h b/src/writeout.h
index 0f34c241e..222e27029 100644
--- a/src/writeout.h
+++ b/src/writeout.h
@@ -23,6 +23,6 @@
* $Id$
***************************************************************************/
-void ourWriteOut(CURL *curl, char *out);
+void ourWriteOut(CURL *curl, const char *out);
#endif