Mercurial > dropbear
comparison svr-agentfwd.c @ 165:0cfba3034be5
Fixed DEBUG_TRACE macro so that we don't get semicolons left about the place
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 02 Jan 2005 20:25:56 +0000 |
parents | 2e9d1f29c50f |
children | ca7e76d981d9 4317be8b7cf9 |
comparison
equal
deleted
inserted
replaced
161:b9d3f725e00b | 165:0cfba3034be5 |
---|---|
99 | 99 |
100 int fd; | 100 int fd; |
101 | 101 |
102 fd = accept(sock, NULL, NULL); | 102 fd = accept(sock, NULL, NULL); |
103 if (fd < 0) { | 103 if (fd < 0) { |
104 TRACE(("accept failed")); | 104 TRACE(("accept failed")) |
105 return; | 105 return; |
106 } | 106 } |
107 | 107 |
108 if (send_msg_channel_open_agent(fd) != DROPBEAR_SUCCESS) { | 108 if (send_msg_channel_open_agent(fd) != DROPBEAR_SUCCESS) { |
109 close(fd); | 109 close(fd); |