reading a socket does not abort anymore
fullread has been changed, so get_event too, and the callers also for the moment the callers crash, enb.c will be a bit more clever, the others to see...
This commit is contained in:
@@ -23,6 +23,7 @@ list *list_append(list *l, void *data);
|
||||
/* socket_send: return 0 if okay, -1 on error */
|
||||
int socket_send(int socket, void *buffer, int size);
|
||||
int get_connection(char *addr, int port);
|
||||
/* fullread: return length read if okay (that is: 'count'), -1 on error */
|
||||
int fullread(int fd, void *_buf, int count);
|
||||
int connect_to(char *addr, int port);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user