summaryrefslogtreecommitdiffstats
path: root/src/sync-ftfw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sync-ftfw.c')
-rw-r--r--src/sync-ftfw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c
index bf9f4f7..0d31e17 100644
--- a/src/sync-ftfw.c
+++ b/src/sync-ftfw.c
@@ -215,7 +215,7 @@ static void ftfw_local_queue(int fd)
static int ftfw_local(int fd, int type, void *data)
{
- int ret = 1;
+ int ret = LOCAL_RET_OK;
switch(type) {
case REQUEST_DUMP:
@@ -229,9 +229,6 @@ static int ftfw_local(int fd, int type, void *data)
case STATS_RSQUEUE:
ftfw_local_queue(fd);
break;
- default:
- ret = 0;
- break;
}
return ret;