[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13965 - gnunet/src/transport
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13965 - gnunet/src/transport |
Date: |
Tue, 21 Dec 2010 14:49:43 +0100 |
Author: wachs
Date: 2010-12-21 14:49:43 +0100 (Tue, 21 Dec 2010)
New Revision: 13965
Modified:
gnunet/src/transport/test_quota_compliance.c
Log:
fix bug from klocwork
Modified: gnunet/src/transport/test_quota_compliance.c
===================================================================
--- gnunet/src/transport/test_quota_compliance.c 2010-12-21 13:49:43 UTC
(rev 13964)
+++ gnunet/src/transport/test_quota_compliance.c 2010-12-21 13:49:43 UTC
(rev 13965)
@@ -801,7 +801,7 @@
else
GNUNET_asprintf(&logger,
"test-quota-compliance-%s-%s","tcp","symmetric");
}
- if (is_udp == GNUNET_YES)
+ else if (is_udp == GNUNET_YES)
{
if (is_asymmetric_recv_constant == GNUNET_YES)
GNUNET_asprintf(&logger,
"test-quota-compliance-%s-%s","udp","asymmetric_recv_constant");
@@ -810,7 +810,7 @@
else
GNUNET_asprintf(&logger,
"test-quota-compliance-%s-%s","udp","symmetric");
}
- if (is_http == GNUNET_YES)
+ else if (is_http == GNUNET_YES)
{
if (is_asymmetric_recv_constant == GNUNET_YES)
GNUNET_asprintf(&logger,
"test-quota-compliance-%s-%s","http","asymmetric_recv_constant");
@@ -819,7 +819,7 @@
else
GNUNET_asprintf(&logger,
"test-quota-compliance-%s-%s","http","symmetric");
}
- if (is_https == GNUNET_YES)
+ else if (is_https == GNUNET_YES)
{
if (is_asymmetric_recv_constant == GNUNET_YES)
GNUNET_asprintf(&logger,
"test-quota-compliance-%s-%s","https","asymmetric_recv_constant");
@@ -828,6 +828,10 @@
else
GNUNET_asprintf(&logger,
"test-quota-compliance-%s-%s","https","symmetric");
}
+ else
+ {
+ GNUNET_asprintf(&logger,
"test-quota-compliance-%s-%s","noplugin","none");
+ }
GNUNET_DISK_directory_remove ("/tmp/test_quota_compliance_peer1");
GNUNET_DISK_directory_remove ("/tmp/test_quota_compliance_peer2");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13965 - gnunet/src/transport,
gnunet <=