]> code.citadel.org Git - citadel.git/blobdiff - citadel/support.c
* The size constant "256" which shows up everywhere as a buffer size has now
[citadel.git] / citadel / support.c
index e9d04a078f842617b4ead0ac21ef18c8f32ee08f..c876ca218c630fe5c2756614af7660b5e3c89356 100644 (file)
@@ -1,13 +1,16 @@
-/* $Id$ */
+/*
+ * $Id$
+ *
+ * Server-side utility functions
+ *
+ */
+
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
 #include <ctype.h>
 #include <stdio.h>
 #include <string.h>
-#ifdef HAVE_PTHREAD_H
-#include <pthread.h>
-#endif
 #include "citadel.h"
 #include "server.h"
 #include "support.h"
@@ -99,7 +102,7 @@ int pattern2(char *search, char *patn)
 void mesg_locate(char *targ, char *searchfor, int numdirs, char **dirs)
 {
        int a;
-       char buf[256];
+       char buf[SIZ];
        FILE *ls;
 
        for (a=0; a<numdirs; ++a) {