Explorar o código

modules/tm: Added support for requests > 32 kb over TCP

- Issue found and fixed by Andrew Miller at Crocodile RCS
pd %!s(int64=14) %!d(string=hai) anos
pai
achega
c128a34760
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/tm/h_table.h

+ 1 - 1
modules/tm/h_table.h

@@ -168,7 +168,7 @@ typedef struct retr_buf
 	volatile unsigned short flags; /* DISABLED, T2 */
 	volatile unsigned char t_active; /* timer active */
 	unsigned short branch; /* no more then 65k branches :-) */
-	short buffer_len;
+	int buffer_len;
 	char *buffer;
 	/*the cell that contains this retrans_buff*/
 	struct cell* my_T;