aboutsummaryrefslogtreecommitdiff
path: root/src/Utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utils.c')
-rw-r--r--src/Utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Utils.c b/src/Utils.c
index ceb4d0f..62e95c7 100644
--- a/src/Utils.c
+++ b/src/Utils.c
@@ -311,8 +311,8 @@ int Socket_TCPBlockingWrite(int fd,char *buffer, int buflen)
#endif
/* subdivide buffer and call TCPBlockingWrite() recursively */
nstore=n; /* preserve register variable */
- TCPBlockingWrite(fd,buffer,buflen>>1);
- TCPBlockingWrite(fd,buffer+(buflen>>1),buflen-(buflen>>1));
+ Socket_TCPBlockingWrite(fd,buffer,buflen>>1);
+ Socket_TCPBlockingWrite(fd,buffer+(buflen>>1),buflen-(buflen>>1));
n=nstore; /* restore register variable */
break;
case EFAULT: