]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/zdon.c
Abstract from update trigger mechanism:
[empserver] / src / lib / commands / zdon.c
index 05cbd724296381f20ef67fecfcd6cf8d598f4287..6ceca9df7aef7c5df2588c97535f7cae74c2f845 100644 (file)
@@ -52,7 +52,6 @@
 #include <config.h>
 
 #include "commands.h"
-#include "empthread.h"
 #include "optlist.h"
 #include "server.h"
 
@@ -142,7 +141,7 @@ zdon(void)
 
     if (!checking && wantupd && demandupdatecheck()) {
        pr("Here goes...\n");
-       empth_sem_signal(update_sem);
+       update_trigger(0);
     }
     return RET_OK;
 }