about summary refs log tree commit homepage
path: root/mgmt_fn.c
diff options
context:
space:
mode:
Diffstat (limited to 'mgmt_fn.c')
-rw-r--r--mgmt_fn.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mgmt_fn.c b/mgmt_fn.c
index b64c4ac..81a1edf 100644
--- a/mgmt_fn.c
+++ b/mgmt_fn.c
@@ -185,7 +185,6 @@ void mog_mgmt_fn_aio_threads(struct mog_mgmt *mgmt, char *buf)
         unsigned long long nr;
         char *nptr = buf + mgmt->mark[0];
         char *eor = nptr + mgmt->mark[1] - mgmt->mark[0];
-        struct iovec iov;
 
         assert((*eor == '\n' || *eor == '\r') && "missing end-of-record");
         *eor = 0;
@@ -196,6 +195,5 @@ void mog_mgmt_fn_aio_threads(struct mog_mgmt *mgmt, char *buf)
         if (nr > 0 && nr <= (size_t)INT_MAX)
                 mog_svc_aio_threads_enqueue(mgmt->svc, nr);
 
-        IOV_STR(&iov, "\r\n");
-        mog_mgmt_writev(mgmt, &iov, 1);
+        mog_mgmt_fn_blank(mgmt);
 }