From 894b63654303649ee1b0fc888cbfded616e6d54e Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Sat, 23 Dec 2006 07:30:10 +0000 Subject: [PATCH] fix a bug in an assert; from Weston Andros Adamson svn:r305 --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.c b/http.c index 22958b0b..212f189c 100644 --- a/http.c +++ b/http.c @@ -757,7 +757,7 @@ evhttp_request_dispatch(struct evhttp_connection* evcon) evhttp_connection_stop_detectclose(evcon); /* we assume that the connection is connected already */ - assert(evcon->state = EVCON_CONNECTED); + assert(evcon->state == EVCON_CONNECTED); /* Create the header from the store arguments */ evhttp_make_header(evcon, req); -- 2.40.0