diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2013-12-17 09:21:24 +0000 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-12-18 17:49:30 -0500 |
commit | 332c9c5b329426f2d255e9eaf856aa79fe813a77 (patch) | |
tree | 8214381d700beca05777a67d4e1eae55db000cba /socket/socks5.c | |
parent | 4b11c683760b545a8bc5171e348cc13d031d60cb (diff) | |
download | libnice-332c9c5b329426f2d255e9eaf856aa79fe813a77.tar.gz |
Fix variable shadowing
Diffstat (limited to 'socket/socks5.c')
-rw-r--r-- | socket/socks5.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/socket/socks5.c b/socket/socks5.c index 9e9b258..d6083a2 100644 --- a/socket/socks5.c +++ b/socket/socks5.c @@ -160,7 +160,7 @@ socket_close (NiceSocket *sock) static gint -socket_recv (NiceSocket *sock, NiceAddress *from, guint len, gchar *buf) +socket_recv (NiceSocket *sock, NiceAddress *from, guint buf_len, gchar *buf) { Socks5Priv *priv = sock->priv; @@ -170,7 +170,7 @@ socket_recv (NiceSocket *sock, NiceAddress *from, guint len, gchar *buf) switch (priv->state) { case SOCKS_STATE_CONNECTED: if (priv->base_socket) - return nice_socket_recv (priv->base_socket, NULL, len, buf); + return nice_socket_recv (priv->base_socket, NULL, buf_len, buf); break; case SOCKS_STATE_INIT: { |