X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Fctdlproto%2Fserv_file.c;fp=citadel%2Fmodules%2Fctdlproto%2Fserv_file.c;h=46e6959b7edd6c0a2438f48485cfe1a6ea5410f4;hp=c1e97d2f690b42cd7bc3cd5ce06d9134e5ef5424;hb=f5a63e1b2e81baf66766d15837165f7b655a6ee9;hpb=9ce9b3bcb8c2b79e64babe02d4d5a996d616cbc3 diff --git a/citadel/modules/ctdlproto/serv_file.c b/citadel/modules/ctdlproto/serv_file.c index c1e97d2f6..46e6959b7 100644 --- a/citadel/modules/ctdlproto/serv_file.c +++ b/citadel/modules/ctdlproto/serv_file.c @@ -223,11 +223,9 @@ void cmd_open(char *cmdbuf) */ void cmd_oimg(char *cmdbuf) { - char filename[256]; + char filename[PATH_MAX]; char pathname[PATH_MAX]; char MimeTestBuf[32]; - struct ctdluser usbuf; - char which_user[USERNAME_SIZE]; int which_floor; int a; int rv;