indent and comment cleanup (no code change)
This commit is contained in:
19
lib/url.c
19
lib/url.c
@@ -1965,14 +1965,6 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
|||||||
data->set.tcp_nodelay = (bool)(0 != va_arg(param, long));
|
data->set.tcp_nodelay = (bool)(0 != va_arg(param, long));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/*
|
|
||||||
case CURLOPT_SOURCE_URL:
|
|
||||||
case CURLOPT_SOURCE_USERPWD:
|
|
||||||
case CURLOPT_SOURCE_QUOTE:
|
|
||||||
case CURLOPT_SOURCE_PREQUOTE:
|
|
||||||
case CURLOPT_SOURCE_POSTQUOTE:
|
|
||||||
These former 3rd party transfer options are deprecated */
|
|
||||||
|
|
||||||
case CURLOPT_FTP_ACCOUNT:
|
case CURLOPT_FTP_ACCOUNT:
|
||||||
result = setstropt(&data->set.str[STRING_FTP_ACCOUNT],
|
result = setstropt(&data->set.str[STRING_FTP_ACCOUNT],
|
||||||
va_arg(param, char *));
|
va_arg(param, char *));
|
||||||
@@ -4344,11 +4336,12 @@ static CURLcode setup_conn(struct connectdata *conn,
|
|||||||
set this here perhaps a second time */
|
set this here perhaps a second time */
|
||||||
|
|
||||||
#ifdef __EMX__
|
#ifdef __EMX__
|
||||||
/* 20000330 mgs
|
/*
|
||||||
* the check is quite a hack...
|
* This check is quite a hack. We're calling _fsetmode to fix the problem
|
||||||
* we're calling _fsetmode to fix the problem with fwrite converting newline
|
* with fwrite converting newline characters (you get mangled text files,
|
||||||
* characters (you get mangled text files, and corrupted binary files when
|
* and corrupted binary files when you download to stdout and redirect it to
|
||||||
* you download to stdout and redirect it to a file). */
|
* a file).
|
||||||
|
*/
|
||||||
|
|
||||||
if((data->set.out)->_handle == NULL) {
|
if((data->set.out)->_handle == NULL) {
|
||||||
_fsetmode(stdout, "b");
|
_fsetmode(stdout, "b");
|
||||||
|
|||||||
Reference in New Issue
Block a user