- more tcp stuff and a lot of merging w/ latest cvs
[sip-router] / receive.c
index dc0c142..ac2a4a3 100644 (file)
--- a/receive.c
+++ b/receive.c
@@ -28,6 +28,7 @@
  * ---------
  * 2003-01-29 transport-independent message zero-termination in
  *            receive_msg (jiri)
+ * 2003-02-07 undoed jiri's zero term. changes (they break tcp) (andrei)
  */
 
 
@@ -81,7 +82,6 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
        /* zero termination (termination of orig message bellow not that
           useful as most of the work is done with scrath-pad; -jiri  */
        /* buf[len]=0; */ /* WARNING: zero term removed! */
-       buf[len]=0; /* transport-independent zero-termination */
        msg->rcv=*rcv_info;
        msg->id=msg_no;
 #ifdef SCRATCH