Some trivial changes

This commit is contained in:
Dan Fandrich 2008-04-17 00:45:33 +00:00
parent 0331071346
commit 09777a4fc2
7 changed files with 39 additions and 31 deletions

View file

@ -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);

View file

@ -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;

View file

@ -23,6 +23,6 @@
* $Id$
***************************************************************************/
void ourWriteOut(CURL *curl, char *out);
void ourWriteOut(CURL *curl, const char *out);
#endif