summaryrefslogtreecommitdiffabout
path: root/lib
authorSergey Poznyakoff <gray@gnu.org.ua>2007-08-06 14:27:47 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2007-08-06 14:27:47 (GMT)
commit21897a7e418d0083e8e22699426236a4e91be408 (patch) (unidiff)
tree12918ff60c7ae9acd4a7c35260edd14fb656abca /lib
parent52dba7388b7cabf2eaa0cd8fcc9a7d0fd40ffd97 (diff)
downloadanubis-21897a7e418d0083e8e22699426236a4e91be408.tar.gz
anubis-21897a7e418d0083e8e22699426236a4e91be408.tar.bz2
(argcv_string): Fix type mismatch in conditional
Diffstat (limited to 'lib') (more/less context) (ignore whitespace changes)
-rw-r--r--lib/argcv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/argcv.c b/lib/argcv.c
index 7e608f3..58dec9e 100644
--- a/lib/argcv.c
+++ b/lib/argcv.c
@@ -390,7 +390,7 @@ argcv_string (int argc, char **argv, char **pstring)
390 return 1; 390 return 1;
391 *buffer = '\0'; 391 *buffer = '\0';
392 392
393 for (len = i = j = 0; (argc > 0) ? i < argc : argv[i]; i++) 393 for (len = i = j = 0; (argc > 0) ? i < argc : (argv[i] != NULL); i++)
394 { 394 {
395 int quote = 0; 395 int quote = 0;
396 int toklen; 396 int toklen;

Return to:

Send suggestions and report system problems to the System administrator.