* The size constant "256" which shows up everywhere as a buffer size has now
[citadel.git] / citadel / dynloader.c
index 1087be5c5a02ba15468098e9c78210df9ce20d80..52ce3e46f337980d0eab66115671b86cca822d52 100644 (file)
@@ -82,7 +82,7 @@ int DLoader_Exec_Cmd(char *cmdbuf)
 void DLoader_Init(char *pathname)
 {
        void *fcn_handle;
-       char dl_error[256];
+       char dl_error[SIZ];
        DIR *dir;
        int i;
        struct dirent *dptr;
@@ -240,7 +240,7 @@ void CtdlRegisterServiceHook(int tcp_port,
                        void (*h_command_function) (void) )
 {
        struct ServiceFunctionHook *newfcn;
-       char message[256];
+       char message[SIZ];
 
        newfcn = (struct ServiceFunctionHook *)
            mallok(sizeof(struct ServiceFunctionHook));