diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-06 21:14:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-06 21:14:58 +0900 |
commit | 8a72d04b8b988e57309dbb0243fd99e0bf618a03 (patch) | |
tree | 8210e90a44d5e81cd0cb42899c5c727cb036a006 /tderesources/groupwise/soap/stdsoap2.cpp | |
parent | 05d7a6ab59c6efe5a31363b8a7954a9110242131 (diff) | |
download | tdepim-8a72d04b8b988e57309dbb0243fd99e0bf618a03.tar.gz tdepim-8a72d04b8b988e57309dbb0243fd99e0bf618a03.zip |
Remove support for Tru64 and OSF
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tderesources/groupwise/soap/stdsoap2.cpp')
-rw-r--r-- | tderesources/groupwise/soap/stdsoap2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tderesources/groupwise/soap/stdsoap2.cpp b/tderesources/groupwise/soap/stdsoap2.cpp index dfe0afc7..95987858 100644 --- a/tderesources/groupwise/soap/stdsoap2.cpp +++ b/tderesources/groupwise/soap/stdsoap2.cpp @@ -2996,7 +2996,7 @@ tcp_gethost(struct soap *soap, const char *addr, struct in_addr *inaddr) strncpy(addrcopy, addr, strlen(addr)+1); iadd = inet_addr(addrcopy); #else -#if defined(_AIXVERSION_431) || defined(__osf__) +#if defined(_AIXVERSION_431) struct hostent_data ht_data; #endif iadd = inet_addr(addr); @@ -3011,7 +3011,7 @@ tcp_gethost(struct soap *soap, const char *addr, struct in_addr *inaddr) #if defined(__GLIBC__) if (gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum) < 0) host = NULL; -#elif defined(_AIXVERSION_431) || defined(__osf__) +#elif defined(_AIXVERSION_431) memset((void*)&ht_data, 0, sizeof(ht_data)); if (gethostbyname_r(addr, &hostent, &ht_data) < 0) { host = NULL; |