summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-25 11:15:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:12 -0500
commit30381686c4874e4f9602a977a31399e49350e597 (patch)
tree5dd22bab490fc75070a7d5a713cecbc57dd6eef4 /source4/libcli
parent045543b661c1ee2c1dac72203e634b9a08568081 (diff)
downloadsamba-30381686c4874e4f9602a977a31399e49350e597.tar.gz
samba-30381686c4874e4f9602a977a31399e49350e597.tar.bz2
samba-30381686c4874e4f9602a977a31399e49350e597.zip
r2621: - now that the client code is non-blocking, we no longer need
write_data and read_data, which are inherently blocking operations - got rid of some old NBT keepalive routines that are not needed (This used to be commit e73b4ae4e500d3b7ee57e160e0f8b63c99b2542a)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/clisocket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/raw/clisocket.c b/source4/libcli/raw/clisocket.c
index 9aea8624d0..654d8ee61b 100644
--- a/source4/libcli/raw/clisocket.c
+++ b/source4/libcli/raw/clisocket.c
@@ -125,7 +125,7 @@ ssize_t smbcli_sock_write(struct smbcli_socket *sock, const char *data, size_t l
return -1;
}
- return write_data(sock->fd, data, len);
+ return write(sock->fd, data, len);
}
@@ -139,7 +139,7 @@ ssize_t smbcli_sock_read(struct smbcli_socket *sock, char *data, size_t len)
return -1;
}
- return read_data(sock->fd, data, len);
+ return read(sock->fd, data, len);
}
/****************************************************************************