Mercurial > hg > index.cgi
changeset 54:2077b755b8b4
Removed extraneous debugging statements from long option parsing routines
author | lost@l-w.ca |
---|---|
date | Tue, 05 Apr 2011 21:50:23 -0600 |
parents | cb4efc47ce9d |
children | bad2ee25acdd |
files | lwlib/lw_cmdline.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lwlib/lw_cmdline.c Tue Apr 05 21:48:51 2011 -0600 +++ b/lwlib/lw_cmdline.c Tue Apr 05 21:50:23 2011 -0600 @@ -413,7 +413,6 @@ goto do_version; /* look up name */ - fprintf(stderr, "option string: %s\n", argv[i]); for (j = 2; argv[i][j] && argv[i][j] != '='; j++) /* do nothing */ ; tstr = lw_alloc(j - 1); @@ -422,7 +421,6 @@ if (argv[i][j] == '=') j++; cch = j; - fprintf(stderr, "Option: %s, Arg: %s\n", tstr, argv[i]+j); for (j = 0; parser -> options[j].name; j++) { if (strcmp(parser -> options[j].name, tstr) == 0)