Revert checking for AI_ADDRCONFIG.

This commit is contained in:
Quinn Evans 2015-10-03 13:49:17 -06:00
parent 1758e0fb82
commit 920aebac3d
1 changed files with 0 additions and 5 deletions

View File

@ -9,7 +9,6 @@
#include <string.h>
#include <unistd.h>
#define CELL_DIGITS 3
#define BUFFER_SIZE 999
/*
@ -127,11 +126,7 @@ void CHANNEL__OPEN(char *cobol_buffer, char *state)
memset(&hints, 0, sizeof(hints));
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;
#ifdef AI_ADDRCONFIG
hints.ai_flags = AI_ADDRCONFIG;
#else
hints.ai_flags = 0;
#endif
if((status = getaddrinfo(msg_buf, port, &hints, &res))) {
channel_string_to_cobol(cobol_buffer, gai_strerror(status));
channel_set_status(state, EBADDEST);