提交 8984a298 authored 作者: Raymond Chandler's avatar Raymond Chandler

patch from FSBUILD-118

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11888 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 8c99c0cb
...@@ -57,6 +57,13 @@ ...@@ -57,6 +57,13 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#if HAVE_FUNC
#elif HAVE_FUNCTION
#define __func__ __FUNCTION__
#else
static char const __func__[] = "tport_tls";
#endif
#if HAVE_SIGPIPE #if HAVE_SIGPIPE
#include <signal.h> #include <signal.h>
#endif #endif
......
...@@ -600,7 +600,7 @@ tport_t *tport_tls_connect(tport_primary_t *pri, ...@@ -600,7 +600,7 @@ tport_t *tport_tls_connect(tport_primary_t *pri,
int err; int err;
unsigned errlevel = 3; unsigned errlevel = 3;
char buf[TPORT_HOSTPORTSIZE]; char buf[TPORT_HOSTPORTSIZE];
char const *what; char const *what="";
s = su_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); s = su_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
if (s == INVALID_SOCKET) if (s == INVALID_SOCKET)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论