diff --git a/src/www.c b/src/www.c index 4041b2b..453ecf2 100644 --- a/src/www.c +++ b/src/www.c @@ -100,7 +100,7 @@ static int iterate_post(void *coninfo_cls, enum MHD_ValueKind kind, if (size == 0) return MHD_NO; - if (con_info != NULL) + if (con_info == NULL) return MHD_NO; if (con_info->connection_type != POST) return MHD_NO;