about summary refs log tree commit homepage
path: root/queue_loop.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-03-15 09:51:01 +0000
committerEric Wong <normalperson@yhbt.net>2012-03-15 09:51:01 +0000
commit8dfde57920bca7cdc70e9dccfb632028c2395979 (patch)
treeb7b9519b0c657b3e0fd917ebc9884dc2bc7509be /queue_loop.c
parent0e615c0d127b0f0d708445bd9901f38c421d7dec (diff)
downloadcmogstored-8dfde57920bca7cdc70e9dccfb632028c2395979.tar.gz
Hopefully things are less error-prone this way.
Diffstat (limited to 'queue_loop.c')
-rw-r--r--queue_loop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/queue_loop.c b/queue_loop.c
index 2d91a79..f3868c1 100644
--- a/queue_loop.c
+++ b/queue_loop.c
@@ -124,7 +124,9 @@ static void queue_quit_step(struct mog_fd *mfd)
 {
         switch (mfd->fd_type) {
         case MOG_FD_TYPE_MGMT: mog_mgmt_quit_step(mfd); return;
-        case MOG_FD_TYPE_HTTP: mog_http_quit_step(mfd); return;
+        case MOG_FD_TYPE_HTTP:
+        case MOG_FD_TYPE_HTTPGET:
+                mog_http_quit_step(mfd); return;
         case MOG_FD_TYPE_FILE:
         case MOG_FD_TYPE_QUEUE:
         case MOG_FD_TYPE_SVC: