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:
Raymond Chandler 2009-02-11 20:19:56 +00:00
parent 8c99c0cbf7
commit 8984a298a9
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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)