- Eric Wong fixed --no-buffer to actually switch off output buffering. Been

broken since 7.19.0
This commit is contained in:
Daniel Stenberg
2009-06-07 22:21:22 +00:00
parent d71c1514f2
commit 9324f1c29f
3 changed files with 9 additions and 3 deletions

View File

@@ -2634,8 +2634,9 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
}
break;
case 'N':
/* disable the output I/O buffering */
config->nobuffer = (bool)(!toggle);
/* disable the output I/O buffering. note that the option is called
--buffer but is mostly used in the negative form: --no-buffer */
config->nobuffer = (bool)(longopt ? !toggle : toggle);
break;
case 'O': /* --remote-name */
if(subletter == 'a') { /* --remote-name-all */