You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2012/12/08 23:26:12 UTC
svn commit: r1418769 - /httpd/httpd/trunk/modules/filters/sed0.c
Author: sf
Date: Sat Dec 8 22:26:12 2012
New Revision: 1418769
URL: http://svn.apache.org/viewvc?rev=1418769&view=rev
Log:
Fix a few 'too many arguments for format' warnings
Modified:
httpd/httpd/trunk/modules/filters/sed0.c
Modified: httpd/httpd/trunk/modules/filters/sed0.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/sed0.c?rev=1418769&r1=1418768&r2=1418769&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/sed0.c (original)
+++ httpd/httpd/trunk/modules/filters/sed0.c Sat Dec 8 22:26:12 2012
@@ -745,7 +745,7 @@ static int rline(sed_commands_t *command
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 *command
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 *command
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 *com
*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;
}