gst-libs/gst/rtsp/gstrtspdefs.c: Fix win32 build. Oops.
authorMichael Smith <msmith@xiph.org>
Thu, 20 Nov 2008 22:06:05 +0000 (22:06 +0000)
committerMichael Smith <msmith@xiph.org>
Thu, 20 Nov 2008 22:06:05 +0000 (22:06 +0000)
Original commit message from CVS:
* gst-libs/gst/rtsp/gstrtspdefs.c:
Fix win32 build. Oops.

ChangeLog
gst-libs/gst/rtsp/gstrtspdefs.c

index 399bcdc86ba8b87ed87b74080059bcfdaa26bf92..0013bfb89b778bd6185851fa105a8f22b4a5ab76 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-20  Michael Smith <msmith@songbirdnest.com>
+
+       * gst-libs/gst/rtsp/gstrtspdefs.c:
+         Fix win32 build. Oops.
+
 2008-11-20  Michael Smith <msmith@songbirdnest.com>
 
        * gst-libs/gst/rtsp/gstrtspdefs.c:
index 3768f7f2de73fc9525f74204ab02273e5f0ea56d..3523814f0f2d681e7cb3edf3fe8f6626682d9e2f 100644 (file)
@@ -248,9 +248,12 @@ gst_rtsp_strresult (GstRTSPResult result)
 #ifdef G_OS_WIN32
     case -GST_RTSP_ESYS:
     case -GST_RTSP_ENET:
-      gchar * msg = g_win32_error_message (WSAGetLastError ());
+    {
+      gchar *msg = g_win32_error_message (WSAGetLastError ());
       res = g_strdup_printf (rtsp_results[idx], msg);
       g_free (msg);
+      break;
+    }
 #else
     case -GST_RTSP_ESYS:
       res = g_strdup_printf (rtsp_results[idx], g_strerror (errno));