notroj commented on code in PR #39:
URL: https://github.com/apache/apr/pull/39#discussion_r1094223656


##########
memcache/apr_memcache.c:
##########
@@ -328,7 +328,7 @@ mc_conn_construct(void **conn_, void *params, apr_pool_t 
*pool)
     apr_pool_t *tp;
     apr_memcache_server_t *ms = params;
 #if APR_HAVE_SOCKADDR_UN
-    apr_int32_t family = ms->host[0] != '/' ? APR_INET : APR_UNIX;
+    apr_int32_t family = ms->host[0] != '/' ? APR_UNSPEC : APR_UNIX;
 #else
     apr_int32_t family = APR_INET;

Review Comment:
   Shouldn't the family = APR_INET lines change in both places too?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@apr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to