From 09777a4fc2ed0f2b09447eb89fb8cd4b99278944 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 17 Apr 2008 00:45:33 +0000 Subject: Some trivial changes --- src/getpass.c | 2 +- src/writeout.c | 4 ++-- src/writeout.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3