diff options
Diffstat (limited to 'src/Sockets.c')
-rw-r--r-- | src/Sockets.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Sockets.c b/src/Sockets.c index 8917797..685a57a 100644 --- a/src/Sockets.c +++ b/src/Sockets.c @@ -437,11 +437,15 @@ IsoCommand *Iso_PollCommand(const cGH *GH,IsoCommand *cmd) /* puts("EndIsoRead"); */ /* Data arriving on an already-connected socket. */ if (r <= 0){ +#if 0 puts("Destroy Socket"); +#endif SocketDestroy(this, &controlsocklist); +#if 0 puts("done destroy"); if(controlsocklist==NULL) puts("*********It did the right thing"); - else puts("*******baaad socket... bad bad bad..."); +#endif + if(controlsocklist) puts("*******Failed to destroy socket*******"); return NULL; } else return cmd; /* return immediately with the new command (first available) */ |