changeset 4 | a3ca0f97a075 |
parent 3 | cc94ae754e2a |
child 9 | 4c4c906cc649 |
--- a/src/sock_internal.h Sun Feb 22 06:44:16 2009 +0200 +++ b/src/sock_internal.h Sun Feb 22 06:52:55 2009 +0200 @@ -33,7 +33,7 @@ }; #define SOCK_FROM_BASE(sock, type) ((type*) sock) -#define SOCK_ERR(sock) ((sock)->err) +#define SOCK_ERR(sock) (&(sock)->err) /* * Initialize a sock_stream with the given sock_stream_type.