summaryrefslogtreecommitdiff
path: root/event-httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'event-httpd.c')
-rw-r--r--event-httpd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/event-httpd.c b/event-httpd.c
index 865f82f..63fb2f3 100644
--- a/event-httpd.c
+++ b/event-httpd.c
@@ -238,7 +238,6 @@ static void receive(GObject *source, GAsyncResult *res, gpointer user_data)
c->resource = resource;
if (!resource->ops) {
respond_error(c, 204, "No Content");
- close_client(c);
return;
}
@@ -247,7 +246,6 @@ static void receive(GObject *source, GAsyncResult *res, gpointer user_data)
case GET:
if (!resource->ops->get) {
respond_error(c, 204, "No Content");
- close_client(c);
return;
}
@@ -262,7 +260,6 @@ static void receive(GObject *source, GAsyncResult *res, gpointer user_data)
case UPDATE:
if (!resource->ops->update) {
respond_error(c, 204, "No Content");
- close_client(c);
return;
}