Return to authfd.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.64, 2004/08/11 21:44:31 | version 1.65, 2005/05/24 17:32:43 | ||
---|---|---|---|
|
|
||
l = len; | l = len; | ||
if (l > sizeof(buf)) | if (l > sizeof(buf)) | ||
l = sizeof(buf); | l = sizeof(buf); | ||
l = atomicio(read, auth->fd, buf, l); | if (atomicio(read, auth->fd, buf, l) != l) { | ||
if (l <= 0) { | |||
error("Error reading response from authentication socket."); | error("Error reading response from authentication socket."); | ||
return 0; | return 0; | ||
} | } |