mirror of
https://github.com/curl/curl.git
synced 2026-06-22 10:45:39 +03:00
printf: fix ".*f" handling
It would always use precision 1 instead of reading it from the argument list as intended. Reported-by: Ray Satiro Bug: #1113
This commit is contained in:
parent
c2bc47ddb8
commit
5dd1b65f79
1 changed files with 0 additions and 1 deletions
|
|
@ -303,7 +303,6 @@ static int dprintf_Pass1(const char *format, va_stack_t *vto, char **endpos,
|
|||
flags |= FLAGS_ALT;
|
||||
break;
|
||||
case '.':
|
||||
flags |= FLAGS_PREC;
|
||||
if('*' == *fmt) {
|
||||
/* The precision is picked from a specified parameter */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue