diff options
author | Sven de Marothy <sven@physto.se> | 2006-05-15 23:20:52 +0000 |
---|---|---|
committer | Sven de Marothy <sven@physto.se> | 2006-05-15 23:20:52 +0000 |
commit | 0578ffe0ed0d20c9d08e880572d0c87ea0431011 (patch) | |
tree | 0420795887b1dc522ad4b4d141095926f3e3debe /native/target | |
parent | 257429863d155c30a305f49b492a20ef102826ad (diff) | |
download | classpath-0578ffe0ed0d20c9d08e880572d0c87ea0431011.tar.gz |
2006-05-15 Sven de Marothy <sven@physto.se>
* native/target/generic/target_generic_network.h:
Add a pair of parenthesis.
Diffstat (limited to 'native/target')
-rw-r--r-- | native/target/generic/target_generic_network.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/target/generic/target_generic_network.h b/native/target/generic/target_generic_network.h index 9bb7002e2..99bb5d765 100644 --- a/native/target/generic/target_generic_network.h +++ b/native/target/generic/target_generic_network.h @@ -682,8 +682,8 @@ Systems : all \ __value.tv_sec = flag / 1000; \ __value.tv_usec = (flag % 1000) * 1000; \ - result = ( setsockopt(socketDescriptor, SOL_SOCKET, SO_SNDTIMEO, &__value, sizeof(__value)) | \ - setsockopt(socketDescriptor, SOL_SOCKET, SO_RCVTIMEO, &__value, sizeof(__value)) == 0) ? TARGET_NATIVE_OK : TARGET_NATIVE_ERROR; \ + result = ( (setsockopt(socketDescriptor, SOL_SOCKET, SO_SNDTIMEO, &__value, sizeof(__value)) | \ + setsockopt(socketDescriptor, SOL_SOCKET, SO_RCVTIMEO, &__value, sizeof(__value))) == 0) ? TARGET_NATIVE_OK : TARGET_NATIVE_ERROR; \ } while (0) #endif |