Commit bf8a8b97 authored by Ruediger Pluem's avatar Ruediger Pluem
Browse files

* Fix compiler warning (missing sentinel in function call).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@693224 13f79535-47bb-0310-9956-ffa450edef68
parent a8cedc23
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/http/http_filters.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -815,7 +815,7 @@ static void validate_status_line(request_rec *r)
         * RFC2616 mandates a trailing space, let's add it.
         */
        else if (len == 3) {
            r->status_line = apr_pstrcat(r->pool, r->status_line, " ");
            r->status_line = apr_pstrcat(r->pool, r->status_line, " ", NULL);
        }
    }
}
+2 −2
Changes for modules/http/http_protocol.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -1248,9 +1248,9 @@ AP_DECLARE(void) ap_send_error_response(request_rec *r, int recursive_error)
                 * If we have an empty reason phrase, we also add "Unknown Reason".
                 */
                if (len == 3) {
                    r->status_line = apr_pstrcat(r->pool, r->status_line, " Unknown Reason");
                    r->status_line = apr_pstrcat(r->pool, r->status_line, " Unknown Reason", NULL);
                } else if (len == 4) {
                    r->status_line = apr_pstrcat(r->pool, r->status_line, "Unknown Reason");
                    r->status_line = apr_pstrcat(r->pool, r->status_line, "Unknown Reason", NULL);
                }
                title = r->status_line;
            }