]> granicus.if.org Git - apache/commitdiff
Fix a few 'too many arguments for format' warnings
authorStefan Fritsch <sf@apache.org>
Sat, 8 Dec 2012 22:26:12 +0000 (22:26 +0000)
committerStefan Fritsch <sf@apache.org>
Sat, 8 Dec 2012 22:26:12 +0000 (22:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1418769 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/sed0.c

index c1f25dfe9a7a3e636f50bc87f51b478a32c5f06b..ddc4bfed8e52476551af5ca9e0b333d1127d6eb8 100644 (file)
@@ -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;
         }