]> granicus.if.org Git - libevent/commitdiff
Add missing case to make http.c compile with warnings enabled.
authorNick Mathewson <nickm@torproject.org>
Thu, 23 Apr 2009 06:27:58 +0000 (06:27 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 23 Apr 2009 06:27:58 +0000 (06:27 +0000)
svn:r1232

http.c

diff --git a/http.c b/http.c
index 51d7f16ec043337e96959238f4b366c0a9d69427..d5a0b8ee7500d72ee86573bd13078de4e6fc8e9d 100644 (file)
--- a/http.c
+++ b/http.c
@@ -808,6 +808,7 @@ evhttp_read_trailer(struct evhttp_connection *evcon, struct evhttp_request *req)
                evhttp_connection_done(evcon);
                break;
        case MORE_DATA_EXPECTED:
+       case REQUEST_CANCELED: /* ??? */
        default:
                bufferevent_enable(evcon->bufev, EV_READ);
                break;