]> code.citadel.org Git - citadel.git/blobdiff - citadel/stress.c
Create some directories to hold the source files for the utility
[citadel.git] / citadel / stress.c
index 5b950ecd6746dfb019348ffdd886685a21721a61..d62ea3cb8dfcd11276857b8f42db9cddb9c4bbab 100644 (file)
@@ -67,6 +67,7 @@ char* const message =
 #include <stdio.h>
 #include <sys/types.h>
 #include <string.h>
+#include <libcitadel.h>
 #include "sysdep.h"
 #if TIME_WITH_SYS_TIME
 # include <sys/time.h>
@@ -240,7 +241,7 @@ void* worker(void* data)
                }
 
                /* Post the message */
-               r = CtdlIPCPostMessage(ipc, 1, &msg, aaa);
+               r = CtdlIPCPostMessage(ipc, 1, NULL, &msg, aaa);
                if (r / 100 != 4) {
                        fprintf(stderr, "Citadel refused message entry: %s\n", aaa);
                        pthread_mutex_lock(&count_mutex);