fix serial bridge port accept printf

pull/69/head
Thorsten von Eicken 9 years ago
parent 992eaaf8c5
commit 45e6ee6957
  1. 2
      serial/serbridge.c

@ -398,7 +398,7 @@ serbridgeConnectCb(void *arg)
int i; int i;
for (i=0; i<MAX_CONN; i++) if (connData[i].conn==NULL) break; for (i=0; i<MAX_CONN; i++) if (connData[i].conn==NULL) break;
#ifdef SERBR_DBG #ifdef SERBR_DBG
os_printf("Accept port 23, conn=%p, pool slot %d\n", conn, i); os_printf("Accept port %d, conn=%p, pool slot %d\n", conn->tcp.local_port ,conn, i);
#endif #endif
if (i==MAX_CONN) { if (i==MAX_CONN) {

Loading…
Cancel
Save