From db27eaa797cb5eae0335c0feec71e71b03cd8849 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Thu, 1 Oct 2009 15:44:27 -0700 Subject: [PATCH] --- yaml --- r: 166668 b: refs/heads/master c: 8fccae2c95506270f74ee8429c273b0924e89c83 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/lib/vsprintf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2035e441b452..01292023ac3d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d41a4b515e346b3afdb5147d86927fa5835fc13b +refs/heads/master: 8fccae2c95506270f74ee8429c273b0924e89c83 diff --git a/trunk/lib/vsprintf.c b/trunk/lib/vsprintf.c index b91839e9e892..33bed5e67a21 100644 --- a/trunk/lib/vsprintf.c +++ b/trunk/lib/vsprintf.c @@ -1771,7 +1771,7 @@ int vsscanf(const char * buf, const char * fmt, va_list args) * advance both strings to next white space */ if (*fmt == '*') { - while (!isspace(*fmt) && *fmt) + while (!isspace(*fmt) && *fmt != '%' && *fmt) fmt++; while (!isspace(*str) && *str) str++;