diff options
Diffstat (limited to 'src/transport/test_transport_api_unreliability.c')
-rw-r--r-- | src/transport/test_transport_api_unreliability.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/transport/test_transport_api_unreliability.c b/src/transport/test_transport_api_unreliability.c index 90defae02..e52b20f7c 100644 --- a/src/transport/test_transport_api_unreliability.c +++ b/src/transport/test_transport_api_unreliability.c | |||
@@ -229,10 +229,9 @@ get_size (unsigned int iter) | |||
229 | 229 | ||
230 | #ifndef LINUX | 230 | #ifndef LINUX |
231 | /* FreeBSD/OSX etc. Unix DGRAMs do not work | 231 | /* FreeBSD/OSX etc. Unix DGRAMs do not work |
232 | with large messages */ | 232 | * with large messages */ |
233 | if (0 == strcmp ("unix", | 233 | if (0 == strcmp ("unix", test_plugin)) |
234 | test_plugin)) | 234 | return sizeof (struct TestMessage) + (ret % 1024); |
235 | return sizeof (struct TestMessage) + (ret % 1024); | ||
236 | #endif | 235 | #endif |
237 | return sizeof (struct TestMessage) + (ret % 60000); | 236 | return sizeof (struct TestMessage) + (ret % 60000); |
238 | } | 237 | } |