version 1.9 | | version 1.10 |
---|
| | |
| | |
/* | | /* |
* static char *rcsid_sockets_c = | | * static char *rcsid_sockets_c = |
* "$Id: lowlevel.c,v 1.9 2003/12/14 16:28:47 ryo_saeba Exp $"; | | * "$Id: lowlevel.c,v 1.10 2005/05/03 19:31:28 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
LOG(llevDebug,"Write_To_Socket called with dead socket\n"); | | LOG(llevDebug,"Write_To_Socket called with dead socket\n"); |
return; | | return; |
} | | } |
| | |
| | #ifndef __GNU__ /* This caused problems on Hurd */ |
if (!ns->can_write) { | | if (!ns->can_write) { |
add_to_buffer(ns, buf, len); | | add_to_buffer(ns, buf, len); |
return; | | return; |
} | | } |
| | #endif |
/* If we manage to write more than we wanted, take it as a bonus */ | | /* If we manage to write more than we wanted, take it as a bonus */ |
while (len>0) { | | while (len>0) { |
| | |