aboutsummaryrefslogtreecommitdiff
path: root/src/rps/rps_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
commit7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch)
treebdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/rps/rps_api.c
parent01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff)
downloadgnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz
gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip
tighten formatting rules
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