Index: HttpRequest.c =================================================================== RCS file: /squid/squid/src/HttpRequest.c,v retrieving revision 1.45 diff -u -p -r1.45 HttpRequest.c --- HttpRequest.c 15 Aug 2008 04:55:59 -0000 1.45 +++ HttpRequest.c 8 Sep 2008 11:31:20 -0000 @@ -39,6 +39,7 @@ request_t * requestCreate(method_t * method, protocol_t protocol, const char *urlpath) { request_t *req = memAllocate(MEM_REQUEST_T); + assert(method != NULL); req->method = method; req->protocol = protocol; if (urlpath)