mirror of
https://github.com/curl/curl.git
synced 2026-07-22 14:57:16 +03:00
Some trivial changes
This commit is contained in:
parent
0331071346
commit
09777a4fc2
7 changed files with 39 additions and 31 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,6 @@
|
|||
* $Id$
|
||||
***************************************************************************/
|
||||
|
||||
void ourWriteOut(CURL *curl, char *out);
|
||||
void ourWriteOut(CURL *curl, const char *out);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue