]> code.citadel.org Git - citadel.git/commitdiff
Increased some buffer sizes to handle large embedded URL's
authorArt Cancro <ajc@citadel.org>
Tue, 13 Jul 1999 02:45:48 +0000 (02:45 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 13 Jul 1999 02:45:48 +0000 (02:45 +0000)
webcit/ChangeLog
webcit/messages.c
webcit/webcit.h

index 1d2c4ecd81af872d57be8ce383629a9196d68e89..998a852532e991d19e422a06b0006e65f55538fb 100644 (file)
@@ -1,3 +1,6 @@
+Mon Jul 12 22:45:21 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
+       * Increased some buffer sizes to handle large embedded URL's
+
 Sat Jul 10 17:51:39 EDT 1999 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * Recompiled the Java chat applet using a genuine JDK 1.0.2
          compiler.  This should make more browsers happy.
index 2c398b8e0cb71c9d88fc2da6ce2184ac0107402c..a471b6eae0fddcd8a0176b84a6689c9c69963abb 100644 (file)
@@ -22,8 +22,8 @@ char buf[];
        int pos;
        int start, end;
        char ench;
-       char urlbuf[256];
-       char outbuf[256];
+       char urlbuf[1024];
+       char outbuf[1024];
 
        start = (-1);
        end = strlen(buf);
@@ -251,7 +251,7 @@ void readloop(char *oper)
                read_message(msgarr[a], oper);
        }
 
-      DONE:wDumpContent(1);
+DONE:  wDumpContent(1);
 }
 
 
index 4183d3a715c0ef63c744175cfac15144858e4213..419437c4e60b147676e8fe409d6bc09be6d8f634 100644 (file)
@@ -44,7 +44,7 @@ enum {
 
 struct webcontent {
        struct webcontent *next;
-       char w_data[256];
+       char w_data[512];
 };
 
 struct urlcontent {