aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-07-06 10:30:27 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-07-06 10:30:27 +0200
commitab9b5dd1113e889a63b03d764d298da7d6d962f1 (patch)
treee69b301754b918c8ec85c9dfdde8cfdddb9d17aa /src
parent80ee82d9f984ffe30fa77f30d153e60a383709a6 (diff)
downloadgnunet-ab9b5dd1113e889a63b03d764d298da7d6d962f1.tar.gz
gnunet-ab9b5dd1113e889a63b03d764d298da7d6d962f1.zip
-fix: codepath fixes
Diffstat (limited to 'src')
-rw-r--r--src/transport/test_transport_api_reliability.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c
index 058d7d8bf..deb943956 100644
--- a/src/transport/test_transport_api_reliability.c
+++ b/src/transport/test_transport_api_reliability.c
@@ -93,10 +93,9 @@ get_size (unsigned int iter)
93 /* FreeBSD/OSX etc. Unix DGRAMs do not work 93 /* FreeBSD/OSX etc. Unix DGRAMs do not work
94 * with large messages */ 94 * with large messages */
95 if (0 == strcmp ("unix", ccc->test_plugin)) 95 if (0 == strcmp ("unix", ccc->test_plugin))
96 ret = sizeof(struct GNUNET_TRANSPORT_TESTING_TestMessage) + (ret % 1024); 96 return sizeof(struct GNUNET_TRANSPORT_TESTING_TestMessage) + (ret % 1024);
97#endif 97#endif
98 ret = sizeof(struct GNUNET_TRANSPORT_TESTING_TestMessage) + (ret % 60000); 98 return sizeof(struct GNUNET_TRANSPORT_TESTING_TestMessage) + (ret % 60000);
99 return ret;
100} 99}
101 100
102 101