2
0
Эх сурвалжийг харах

Bugfix: remove dontsend after not sended.

Nils Ohlmeier 23 жил өмнө
parent
commit
ec41986a53
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  1. 4 1
      test/sipsak.c

+ 4 - 1
test/sipsak.c

@@ -63,7 +63,7 @@ bouquets and brickbats to [email protected]
 #include <arpa/inet.h>
 #include <sys/poll.h>
 
-#define SIPSAK_VERSION "v0.6"
+#define SIPSAK_VERSION "v0.6.5"
 #define RESIZE		1024
 #define BUFSIZE		4096
 #define FQDN_SIZE   200
@@ -661,6 +661,9 @@ void shoot(char *buff)
 					exit( 1 );
 				}
 			}
+			else {
+				dontsend = 0;
+			}
 
 			/* in flood we are only interested in sending so skip the rest */
 			if (!flood) {