]> 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 cc4ac677b38d87577225bc4ce960296dda3b6bae..c876ca218c630fe5c2756614af7660b5e3c89356 100644 (file)
@@ -1,4 +1,10 @@
-/* $Id$ */
+/*
+ * $Id$
+ *
+ * Server-side utility functions
+ *
+ */
+
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
@@ -96,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) {