mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:23:38 +03:00
Eric Lavigne updates
This commit is contained in:
parent
13ac89af24
commit
dccc77a325
5 changed files with 11 additions and 8 deletions
|
|
@ -902,14 +902,14 @@ static int dprintf_formatf(
|
|||
}
|
||||
else {
|
||||
/* Write "(nil)" for a nil pointer. */
|
||||
static char nil[] = "(nil)";
|
||||
static char strnil[] = "(nil)";
|
||||
register char *point;
|
||||
|
||||
width -= sizeof(nil) - 1;
|
||||
width -= sizeof(strnil) - 1;
|
||||
if (p->flags & FLAGS_LEFT)
|
||||
while (width-- > 0)
|
||||
OUTCHAR(' ');
|
||||
for (point = nil; *point != '\0'; ++point)
|
||||
for (point = strnil; *point != '\0'; ++point)
|
||||
OUTCHAR(*point);
|
||||
if (! (p->flags & FLAGS_LEFT))
|
||||
while (width-- > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue