]> granicus.if.org Git - apache/commitdiff
Jeff's couple of small corrections.
authorDavid Reid <dreid@apache.org>
Wed, 15 Mar 2000 12:00:51 +0000 (12:00 +0000)
committerDavid Reid <dreid@apache.org>
Wed, 15 Mar 2000 12:00:51 +0000 (12:00 +0000)
Submitted by: Jeff Trawick <trawick@ibm.net>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84769 13f79535-47bb-0310-9956-ffa450edef68

modules/echo/mod_echo.c
modules/filters/mod_include.c

index dabe5d1739c7f2595546897e03ea1f6820808fbb..edf9362025e6ea9dff0ea176086e9f1f8b5c910f 100644 (file)
@@ -58,7 +58,7 @@ static const command_rec echo_cmds[] = {
 { NULL }
 };
 
-static void register_hooks()
+static void register_hooks(void)
 {
     ap_hook_process_connection(process_echo_connection,NULL,NULL,HOOK_MIDDLE);
 }
index ab0f0301e43644938eb1f2a5d600c82bd1067ef8..2cd7cd1f49f3f46aedc77823fcd16b2ba5114d78 100644 (file)
@@ -977,7 +977,7 @@ static int handle_echo(ap_file_t *in, request_rec *r, const char *error)
            else if (!strcasecmp(tag_val, "url")) encode = E_URL;
            else if (!strcasecmp(tag_val, "entity")) encode = E_ENTITY;
            else {
-               ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, r,
+               ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r,
                            "unknown value \"%s\" to parameter \"encoding\" of "
                            "tag echo in %s",
                            tag_val, r->filename);