]> granicus.if.org Git - apache/commitdiff
core: Use the proper macro for HTTP/1.1.
authorGraham Leggett <minfrin@apache.org>
Wed, 15 May 2013 18:40:14 +0000 (18:40 +0000)
committerGraham Leggett <minfrin@apache.org>
Wed, 15 May 2013 18:40:14 +0000 (18:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1482996 13f79535-47bb-0310-9956-ffa450edef68

server/protocol.c

index 9d63c44d6abcc3b1f011ebb0f135231998ffd6b5..e2f4d250cb4663a9c90967a8b68df38e72a8406d 100644 (file)
@@ -1830,7 +1830,7 @@ AP_DECLARE(void) ap_send_interim_response(request_rec *r, int send_headers)
     char *status_line = NULL;
     request_rec *rr;
 
-    if (r->proto_num < 1001) {
+    if (r->proto_num < HTTP_VERSION(1,1)) {
         /* don't send interim response to HTTP/1.0 Client */
         return;
     }