Explorar el Código

sctp: if USE_COMP, set comp to none

Andrei Pelinescu-Onciul hace 17 años
padre
commit
a7c9b3d14b
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      sctp_server.c

+ 3 - 1
sctp_server.c

@@ -805,7 +805,9 @@ int sctp_rcv_loop()
 						tmp);
 						tmp);
 			continue;
 			continue;
 		}
 		}
-	
+#ifdef USE_COMP
+		ri.comp=COMP_NONE;
+#endif
 		/* update the local config */
 		/* update the local config */
 		cfg_update();
 		cfg_update();
 		receive_msg(buf, len, &ri);
 		receive_msg(buf, len, &ri);