[Freeswitch-svn] [commit] r11888 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport
FreeSWITCH SVN
intralanman at freeswitch.org
Wed Feb 11 12:19:56 PST 2009
Author: intralanman
Date: Wed Feb 11 14:19:56 2009
New Revision: 11888
Log:
patch from FSBUILD-118
Modified:
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_tls.c Wed Feb 11 14:19:56 2009
@@ -57,6 +57,13 @@
#include <stdio.h>
#include <stdlib.h>
+#if HAVE_FUNC
+#elif HAVE_FUNCTION
+#define __func__ __FUNCTION__
+#else
+static char const __func__[] = "tport_tls";
+#endif
+
#if HAVE_SIGPIPE
#include <signal.h>
#endif
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_tls.c Wed Feb 11 14:19:56 2009
@@ -600,7 +600,7 @@
int err;
unsigned errlevel = 3;
char buf[TPORT_HOSTPORTSIZE];
- char const *what;
+ char const *what="";
s = su_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
if (s == INVALID_SOCKET)
More information about the Freeswitch-svn
mailing list