Commit bda8d18b authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

Backports: r1621419 (protocol.c only)

Submitted by: jailletc36
Fix sscanf format spotted by cppcheck 
(changes version major/minor types from signed to unsigned)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x-merge-http-strict@1775717 13f79535-47bb-0310-9956-ffa450edef68
parent c001c7c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -560,7 +560,7 @@ static int read_request_line(request_rec *r, apr_bucket_brigade *bb)
    const char *uri;
    const char *pro;

    int major = 1, minor = 0;   /* Assume HTTP/1.0 if non-"HTTP" protocol */
    unsigned int major = 1, minor = 0;   /* Assume HTTP/1.0 if non-"HTTP" protocol */
    char http[5];
    apr_size_t len;
    int num_blank_lines = 0;