rstream.c: Use proper define for ai_flags before getaddrinfo call in client_connect
PATCH 1/1 rstream.c: Use proper define for ai_flags before getaddrinfo call in client_connect
even though both have same value
---
examples/rstream.c +1 -1
@@ -421,7 +421,7 @@ static int client_connect(void) rai_hints.ai_flags |=RAI_PASSIVE ; ret =rdma_getaddrinfo (src_addr, port, &rai_hints, &rai_src); }else { - ai_hints.ai_flags |=RAI_PASSIVE ; + ai_hints.ai_flags |=AI_PASSIVE ; ret =getaddrinfo (src_addr, port, &ai_hints, &ai_src); }if (ret) {
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html