summaryrefslogtreecommitdiff
path: root/src/udp.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-12-28 03:01:38 +0000
committerChristian Pointner <equinox@anytun.org>2008-12-28 03:01:38 +0000
commit699f04dc754ef3545ae217ab1879731f2595ae0d (patch)
treef80e29d197eedc2a1569a9ff35b43e47000e32ef /src/udp.h
parentadded enpoint to string functions (diff)
some memory erros fixed
added udp_read and udp_write
Diffstat (limited to 'src/udp.h')
-rw-r--r--src/udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udp.h b/src/udp.h
index 848673c..096f655 100644
--- a/src/udp.h
+++ b/src/udp.h
@@ -52,7 +52,7 @@ char* udp_endpoint_to_string(struct sockaddr_storage ss);
char* udp_get_local_end_string(udp_socket_t* sock);
char* udp_get_remote_end_string(udp_socket_t* sock);
-int udp_read(udp_socket_t* sock, u_int8_t* buf, u_int32_t len, struct sockaddr_storage* remote_end_);
+int udp_read(udp_socket_t* sock, u_int8_t* buf, u_int32_t len, struct sockaddr_storage* remote_end);
int udp_write(udp_socket_t* sock, u_int8_t* buf, u_int32_t len);