File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 135135#define vortex_is_disconnected ((errno == WSAESHUTDOWN) || (errno == WSAECONNABORTED) || (errno == WSAECONNRESET))
136136#define VORTEX_FILE_SEPARATOR "\\"
137137#define inet_ntop vortex_win32_inet_ntop
138+ #define EADDRNOTAVAIL 125
138139
139140/* no link support windows */
140141#define S_ISLNK (m ) (0)
Original file line number Diff line number Diff line change @@ -4630,14 +4630,17 @@ const char * vortex_connection_get_host_ip (VortexConnection *
46304630 /* unix flavors */
46314631 socklen_t sin_size = sizeof (sin );
46324632#endif
4633+ #if defined(ENABLE_VORTEX_LOG )
46334634 VortexCtx * ctx ;
46344635
4636+ /* setup context */
4637+ ctx = connection -> ctx ;
4638+ #endif
4639+
46354640 /* check input parameters */
46364641 if (connection == NULL )
46374642 return NULL ;
4638- /* setup context */
4639- ctx = connection -> ctx ;
4640-
4643+
46414644 /* acquire lock to check if host ip was defined previously */
46424645 vortex_mutex_lock (& connection -> op_mutex );
46434646 if (connection -> host_ip ) {
You can’t perform that action at this time.
0 commit comments