diff options
author | Linus Nordberg <linus@nordu.net> | 2011-03-06 14:46:57 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-03-06 14:46:57 +0100 |
commit | 7636505962a348d9564e53922834dc6df1274653 (patch) | |
tree | 28a696ab93922db7a3ebb47093e6225040ebc1fe /lib/compat.c | |
parent | fda0bfd44f940688f85fe3a99a0c8cd91611452f (diff) |
UDP w/o bufferevents, part 1.
Sending, no retransmitting and no receiving.
Diffstat (limited to 'lib/compat.c')
-rw-r--r-- | lib/compat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compat.c b/lib/compat.c index 731c071..b00bea1 100644 --- a/lib/compat.c +++ b/lib/compat.c @@ -1,8 +1,9 @@ #include <sys/types.h> #include <sys/socket.h> +#include "compat.h" ssize_t compat_send (int sockfd, const void *buf, size_t len, int flags) { - compat_send (int sockfd, const void *buf, size_t len, int flags); + return send (sockfd, buf, len, flags); } |