Index: gstrtspconnection.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/rtsp/gstrtspconnection.c,v
retrieving revision 1.22
diff -r1.22 gstrtspconnection.c
589,593d588
< #ifdef G_OS_WIN32
<   WSADATA w;
<   int error;
< #endif
< 
597,606d591
< #ifdef G_OS_WIN32
<   error = WSAStartup (0x0202, &w);
< 
<   if (error)
<     goto startup_error;
< 
<   if (w.wVersion != 0x0202)
<     goto version_error;
< #endif
< 
685,699d669
< 
< #ifdef G_OS_WIN32
< startup_error:
<   {
<     g_warning ("Error %d on WSAStartup", error);
<     return GST_RTSP_EWSASTART;
<   }
< version_error:
<   {
<     g_warning ("Windows sockets are not version 0x202 (current 0x%x)",
<         w.wVersion);
<     WSACleanup ();
<     return GST_RTSP_EWSAVERSION;
<   }
< #endif
1221,1223d1190
< #ifdef G_OS_WIN32
<     WSACleanup ();
< #endif
1253,1255d1219
< #ifdef G_OS_WIN32
<   WSACleanup ();
< #endif
