aboutsummaryrefslogtreecommitdiff
path: root/src/rps/rps_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rps/rps_api.c')
-rw-r--r--src/rps/rps_api.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c
index 19cbdcf8a..da24ca4c9 100644
--- a/src/rps/rps_api.c
+++ b/src/rps/rps_api.c
@@ -857,7 +857,7 @@ GNUNET_RPS_connect (const struct GNUNET_CONFIGURATION_Handle *cfg)
857 GNUNET_free (h); 857 GNUNET_free (h);
858 return NULL; 858 return NULL;
859 } 859 }
860 if ((0 > h->desired_probability)|| 860 if ((0 > h->desired_probability) ||
861 (1 < h->desired_probability) ) 861 (1 < h->desired_probability) )
862 { 862 {
863 LOG (GNUNET_ERROR_TYPE_ERROR, 863 LOG (GNUNET_ERROR_TYPE_ERROR,
@@ -876,7 +876,7 @@ GNUNET_RPS_connect (const struct GNUNET_CONFIGURATION_Handle *cfg)
876 GNUNET_free (h); 876 GNUNET_free (h);
877 return NULL; 877 return NULL;
878 } 878 }
879 if ((0 > h->desired_probability)|| 879 if ((0 > h->desired_probability) ||
880 (1 < h->desired_probability) ) 880 (1 < h->desired_probability) )
881 { 881 {
882 LOG (GNUNET_ERROR_TYPE_ERROR, 882 LOG (GNUNET_ERROR_TYPE_ERROR,
@@ -1186,6 +1186,8 @@ GNUNET_RPS_act_malicious (struct GNUNET_RPS_Handle *h,
1186 1186
1187 GNUNET_MQ_send (h->mq, ev); 1187 GNUNET_MQ_send (h->mq, ev);
1188} 1188}
1189
1190
1189#endif /* ENABLE_MALICIOUS */ 1191#endif /* ENABLE_MALICIOUS */
1190 1192
1191 1193