From 35df59e9e134f051fb5dc4f93792b8d1d856803a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 4 Jan 2010 01:01:54 -0500 Subject: [PATCH] Correct a debug message in evhttp_parse_request_line The old message reported that evhttp_decode_uri had failed; in fact, strdup had failed. Found by Michael Lenaghan. --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.c b/http.c index b04ad54b..6d32f5dc 100644 --- a/http.c +++ b/http.c @@ -1294,7 +1294,7 @@ evhttp_parse_request_line(struct evhttp_request *req, char *line) } if ((req->uri = strdup(uri)) == NULL) { - event_debug(("%s: evhttp_decode_uri", __func__)); + event_debug(("%s: strdup", __func__)); return (-1); }