* Increase size of temp file name buffer in struct CitContext
authorArt Cancro <ajc@citadel.org>
Sat, 26 Oct 2002 06:01:19 +0000 (06:01 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 26 Oct 2002 06:01:19 +0000 (06:01 +0000)
citadel/ChangeLog
citadel/server.h

index fc3e2804e492a71cf6666f13986145ac7704c2fc..27b8c6bd9e0b57f066ded92c881f3f0d7c4c4ea2 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 601.52  2002/10/26 06:01:19  ajc
+ * Increase size of temp file name buffer in struct CitContext
+
  Revision 601.51  2002/10/25 09:38:38  error
  * Fixed broken .Goto by partial match
 
@@ -4162,4 +4165,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
index 81932e2ec3a464de480b9fd68ae96f16d6f5a5a9..5cbcabbb93f25318dacdbe2244059d2d9a43ea26 100644 (file)
@@ -89,11 +89,11 @@ struct CitContext {
        char curr_user[USERNAME_SIZE];  /* name of current user */
        int logged_in;          /* logged in */
        int internal_pgm;       /* authenticated as internal program */
-       char temp[32];          /* temp file name */
+       char temp[PATH_MAX];    /* temp file name */
        int nologin;            /* not allowed to log in */
        int is_local_socket;    /* set to 1 if client is on unix domain sock */
 
-       char net_node[32];      /* Is the client another Citadel server? */
+       char net_node[PATH_MAX];/* Is the client another Citadel server? */
        int client_socket;
        int cs_pid;             /* session ID */
        time_t cs_lastupdt;     /* time of last update */
@@ -116,10 +116,10 @@ struct CitContext {
 
        FILE *download_fp;      /* Fields relating to file transfer */
        FILE *upload_fp;
-       char upl_file[SIZ];
-       char upl_path[SIZ];
+       char upl_file[PATH_MAX];
+       char upl_path[PATH_MAX];
        char upl_comment[SIZ];
-       char upl_filedir[SIZ];
+       char upl_filedir[PATH_MAX];
        char dl_is_net;
        char upload_type;