tcp: Fix compiling with mingw
authorRaimo Järvi <raimo.jarvi@gmail.com>
Thu, 29 Mar 2012 10:32:15 +0000 (13:32 +0300)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 2 Apr 2012 09:26:45 +0000 (11:26 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=673056

gst/tcp/gstmultisocketsink.c

index d9f5188..c905521 100644 (file)
@@ -656,8 +656,8 @@ gst_multi_socket_sink_handle_client_write (GstMultiSocketSink * sink,
           /* partial write means that the client cannot read more and we should
            * stop sending more */
           GST_LOG_OBJECT (sink,
-              "partial write on %p of %" G_GSSIZE_FORMAT " bytes", socket,
-              wrote);
+              "partial write on %p of %" G_GSSIZE_FORMAT " bytes",
+              mhclient->handle.socket, wrote);
           mhclient->bufoffset += wrote;
           more = FALSE;
         } else {