git » nmdb » commit 2dc32f8

Remove deprecated comment in tcp.c.

author Alberto Bertogli
2007-06-07 04:14:43 UTC
committer Alberto Bertogli
2007-06-07 04:14:43 UTC
parent 665a0ea4ff1a680b58d2bcc9f55a69c153cfc3c6

Remove deprecated comment in tcp.c.

Commit d4a46d70 obsoleted this comment, we no longer need to allocate or
free any buffer on the fast TCP code path.

Signed-off-by: Alberto Bertogli <albertito@gmail.com>

nmdb/tcp.c +0 -4

diff --git a/nmdb/tcp.c b/nmdb/tcp.c
index 6887d64..415cabe 100644
--- a/nmdb/tcp.c
+++ b/nmdb/tcp.c
@@ -434,10 +434,6 @@ static void process_buf(struct tcp_socket *tcpsock,
 
 
 exit:
-	/* We completed the read successfuly. buf and req were allocated by
-	 * tcp_recv(), but they are freed here only after we have fully parsed
-	 * the message. */
-
 	if (tcpsock->excess) {
 		/* If there are buffer leftovers (because there was more than
 		 * one message on a recv()), leave the buffer, move the