summaryrefslogtreecommitdiff
path: root/socket/socket.c
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2014-01-30 21:21:13 -0500
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-01-31 01:49:08 -0500
commit4f456a461b4a36b74683623b9868f803871f254a (patch)
tree798c0e839dc7c60d3cabaaebffd5ecde3eb1662b /socket/socket.c
parent5c235a86dc7ca1e7c9cc01c20ad5b0370c31d1f3 (diff)
downloadlibnice-4f456a461b4a36b74683623b9868f803871f254a.tar.gz
Remove the "length" parameter from NiceOutputMessage
It was used correctly only half the time anyway
Diffstat (limited to 'socket/socket.c')
-rw-r--r--socket/socket.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/socket/socket.c b/socket/socket.c
index afd5037..92ee15a 100644
--- a/socket/socket.c
+++ b/socket/socket.c
@@ -146,7 +146,7 @@ nice_socket_send (NiceSocket *sock, const NiceAddress *to, gsize len,
const gchar *buf)
{
GOutputVector local_buf = { buf, len };
- NiceOutputMessage local_message = { &local_buf, 1, len };
+ NiceOutputMessage local_message = { &local_buf, 1};
gint ret;
ret = sock->send_messages (sock, to, &local_message, 1);
@@ -169,4 +169,3 @@ nice_socket_free (NiceSocket *sock)
g_slice_free (NiceSocket,sock);
}
}
-