Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Lazily open pack index files on demand
[gitweb.git]
/
imap-send.c
diff --git
a/imap-send.c
b/imap-send.c
index 84df2fabb7f91d30f7617dd07202ed916c5f8eb1..4283a4acdaf28a8edc2f595e6137cc396f4988dc 100644
(file)
--- a/
imap-send.c
+++ b/
imap-send.c
@@
-224,7
+224,7
@@
socket_perror( const char *func, Socket_t *sock, int ret )
static int
socket_read( Socket_t *sock, char *buf, int len )
{
-
in
t n = xread( sock->fd, buf, len );
+
ssize_
t n = xread( sock->fd, buf, len );
if (n <= 0) {
socket_perror( "read", sock, n );
close( sock->fd );