patch from FSBUILD-118
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11888 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
8c99c0cbf7
commit
8984a298a9
|
@ -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
|
||||
|
|
|
@ -600,7 +600,7 @@ tport_t *tport_tls_connect(tport_primary_t *pri,
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue