Ver Fonte

* Some weird degarble() bug (fixed)

svn: 325
Bryan Drewery há 22 anos atrás
pai
commit
c0148edea3
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 1 0
      src/mem.c
  2. 1 1
      src/stringfix.c

+ 1 - 0
src/mem.c

@@ -443,6 +443,7 @@ char *degarble(int len, char *g)
   int i;
   int i;
   unsigned char x;
   unsigned char x;
 
 
+Context;
   garble_ptr++;
   garble_ptr++;
   if (garble_ptr == GARBLE_BUFFERS)
   if (garble_ptr == GARBLE_BUFFERS)
     garble_ptr = 0;
     garble_ptr = 0;

+ 1 - 1
src/stringfix.c

@@ -9,7 +9,7 @@
 #include <string.h>
 #include <string.h>
 #include "conf.h"
 #include "conf.h"
 
 
-#define WTF 20000
+#define WTF 16384
 
 
 #ifdef S_GARBLESTRINGS
 #ifdef S_GARBLESTRINGS
 void garble(char **inptr, char **outptr)
 void garble(char **inptr, char **outptr)