2007-04-16 Jorn Baayen <jorn@openedhand.com>
authorJorn Baayen <jorn@openedhand.com>
Mon, 16 Apr 2007 11:47:52 +0000 (11:47 +0000)
committerJorn Baayen <jorn@openedhand.com>
Mon, 16 Apr 2007 11:47:52 +0000 (11:47 +0000)
* libgssdp/gssdp-client.c: (socket_source_cb):

Calculate message length correctly.

git-svn-id: https://svn.o-hand.com/repos/gupnp/gssdp@178 d8cb91d7-bff9-0310-92b9-80b65e4482b2

ChangeLog
libgssdp/gssdp-client.c

index 8fbbe23..65c46e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-16  Jorn Baayen  <jorn@openedhand.com>
+
+       * libgssdp/gssdp-client.c: (socket_source_cb):
+
+       Calculate message length correctly.
+
 2007-04-16  Zeeshan Ali  <zeenix@gstreamer.net>
 
        * libgssdp/gssdp-socket-source.c: (gssdp_socket_source_new):
index 8af0f6d..847f11b 100644 (file)
@@ -475,7 +475,7 @@ socket_source_cb (gpointer user_data)
                 return TRUE;
         }
 
-        len = end - buf;
+        len = end - buf + 2;
         
         /* Parse message */
         type = -1;