forked from EXTERNAL/bareiron
return sent bytes from send_all
This commit is contained in:
@@ -115,7 +115,7 @@ ssize_t send_all (int client_fd, const void *buf, ssize_t len) {
|
|||||||
return -1; // real error
|
return -1; // real error
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return sent;
|
||||||
}
|
}
|
||||||
|
|
||||||
ssize_t writeByte (int client_fd, uint8_t byte) {
|
ssize_t writeByte (int client_fd, uint8_t byte) {
|
||||||
|
Reference in New Issue
Block a user