diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-11-27 07:27:32 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-11-27 07:27:32 +0000 |
commit | dccc77a32595f39c01198ccdd9e2c7794588c556 (patch) | |
tree | 6acc527ac1eba4da7eedb1b856c3e144e8e3a487 /lib/mprintf.c | |
parent | 13ac89af24f8d478147d091d652a8599399311b8 (diff) | |
download | curl-dccc77a32595f39c01198ccdd9e2c7794588c556.tar.gz |
Eric Lavigne updates
Diffstat (limited to 'lib/mprintf.c')
-rw-r--r-- | lib/mprintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mprintf.c b/lib/mprintf.c index 7259a9ade..427d5b9f1 100644 --- a/lib/mprintf.c +++ b/lib/mprintf.c @@ -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) |