]> granicus.if.org Git - libevent/commitdiff
Fix a compile warning introduced in 739e688
authorSebastian Hahn <sebastian@torproject.org>
Sun, 2 May 2010 10:51:35 +0000 (12:51 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Sun, 2 May 2010 10:52:06 +0000 (12:52 +0200)
http.c

diff --git a/http.c b/http.c
index 511bff877828a8e3a63d39d5859dce5980132bab..c92f60fc40e6dbf065947df35e251fdd8ea996d1 100644 (file)
--- a/http.c
+++ b/http.c
@@ -1256,7 +1256,7 @@ evhttp_parse_response_line(struct evhttp_request *req, char *line)
 {
        char *protocol;
        char *number;
-       char *readable = "";
+       const char *readable = "";
 
        protocol = strsep(&line, " ");
        if (line == NULL)