Skip to content

Instantly share code, notes, and snippets.

View jamesabravo's full-sized avatar

James Bravo jamesabravo

  • Redmatter
View GitHub Profile
diff --git a/sctp_server.c b/sctp_server.c
index b4f7ed8..e2e470e 100644
--- a/sctp_server.c
+++ b/sctp_server.c
@@ -205,14 +205,6 @@ int sctp_server_rcv_loop(void)
su2ip_addr(&ri.src_ip, from);
ri.src_port=su_getport(from);
-#ifndef NO_ZERO_CHECKS
- if (buf[len-1]==0) {