From: Stefan Fritsch Date: Sat, 8 Dec 2012 22:26:12 +0000 (+0000) Subject: Fix a few 'too many arguments for format' warnings X-Git-Tag: 2.5.0-alpha~6047 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2369b0ecd574e84b661584df683c6a5e2c232a2a;p=apache Fix a few 'too many arguments for format' warnings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1418769 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/sed0.c b/modules/filters/sed0.c index c1f25dfe9a..ddc4bfed8e 100644 --- a/modules/filters/sed0.c +++ b/modules/filters/sed0.c @@ -745,7 +745,7 @@ static int rline(sed_commands_t *commands, apr_file_t *fin, out1: if (p == lbend) { - command_errf(commands, SEDERR_CLTL, commands->linebuf); + command_errf(commands, SEDERR_CLTL); return -1; } *p = '\0'; @@ -773,7 +773,7 @@ static int rline(sed_commands_t *commands, apr_file_t *fin, out2: if (p == lbend) { - command_errf(commands, SEDERR_CLTL, commands->linebuf); + command_errf(commands, SEDERR_CLTL); return -1; } *p = '\0'; @@ -785,7 +785,7 @@ static int rline(sed_commands_t *commands, apr_file_t *fin, while (apr_file_read(fin, &t, &bytes_read) != APR_SUCCESS) { if(t == '\n') { if (p == lbend) { - command_errf(commands, SEDERR_CLTL, commands->linebuf); + command_errf(commands, SEDERR_CLTL); return -1; } *p = '\0'; @@ -852,7 +852,7 @@ static char *address(sed_commands_t *commands, char *expbuf, *expbuf++ = commands->nlno; commands->tlno[commands->nlno++] = lno; if(commands->nlno >= SED_NLINES) { - command_errf(commands, SEDERR_TMLNMES, commands->linebuf); + command_errf(commands, SEDERR_TMLNMES); *status = APR_EGENERAL; return NULL; }