Author: adrian.chadd
Date: Tue Jun 16 03:28:21 2009
New Revision: 14096

Modified:
    branches/LUSCA_HEAD/src/client_side.c

Log:
.. and fix this to compile. Oops!



Modified: branches/LUSCA_HEAD/src/client_side.c
==============================================================================
--- branches/LUSCA_HEAD/src/client_side.c       (original)
+++ branches/LUSCA_HEAD/src/client_side.c       Tue Jun 16 03:28:21 2009
@@ -3896,7 +3896,7 @@
      /* Parse the request line */
      ret = httpMsgParseRequestLine(hmsg);
      if (ret == -1)
-       return parseHttpRequestAbort(conn, &method_p, "error:invalid-request");
+       return parseHttpRequestAbort(conn, method_p, "error:invalid-request");
      if (ret == 0) {
        debug(33, 5) ("Incomplete request, waiting for end of request line\n");
        *status = 0;
@@ -3919,7 +3919,7 @@
      /* Enforce max_request_size */
      if (req_sz >= Config.maxRequestHeaderSize) {
        debug(33, 5) ("parseHttpRequest: Too large request\n");
-       return parseHttpRequestAbort(conn, &method_p, 
"error:request-too-large");
+       return parseHttpRequestAbort(conn, method_p, "error:request-too-large");
      }
      /* Wrap the request method */
      method = urlMethodGet(hmsg->buf + hmsg->m_start, hmsg->m_len);
@@ -3933,7 +3933,7 @@
      /* Make sure URL fits inside MAX_URL */
      if (hmsg->u_len >= MAX_URL) {
        debug(33, 1) ("parseHttpRequest: URL too big (%d) chars: %s\n",  
hmsg->u_len, hmsg->buf + hmsg->u_start);
-       return parseHttpRequestAbort(conn, &method_p, 
"error:request-too-large");
+       return parseHttpRequestAbort(conn, method_p, "error:request-too-large");
      }
      xmemcpy(urlbuf, hmsg->buf + hmsg->u_start, hmsg->u_len);
      /* XXX off-by-one termination error? */
@@ -4094,7 +4094,7 @@
      dlinkDelete(&http->active, &ClientActiveRequests);
      safe_free(http->uri);
      cbdataFree(http);
-    return parseHttpRequestAbort(conn, &method_p, "error:invalid-request");
+    return parseHttpRequestAbort(conn, method_p, "error:invalid-request");
  }

  static int

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to