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-07 10:25:42 +0900 |
| commit | 30947024df51c02f766ee1bbbbd128b720669379 (patch) | |
| tree | 5785e6e16bd992d4d64c1ea2b780efbe5f7901e0 /tderesources/groupwise/soap/stdsoap2.cpp | |
| parent | 37a191cb7c3421f2492b72648e42668c5709386f (diff) | |
| download | tdepim-30947024df51c02f766ee1bbbbd128b720669379.tar.gz tdepim-30947024df51c02f766ee1bbbbd128b720669379.zip | |
Remove support for Tru64 and OSF
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8a72d04b8b988e57309dbb0243fd99e0bf618a03)
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; |
