aboutsummaryrefslogtreecommitdiff
path: root/src/core/test_core_quota_compliance.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-09 14:53:44 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-09 14:53:44 +0000
commit7ae3bcd234e062c28f66db9758f61af401d0a707 (patch)
treeadb1da7611b0afd6ff0fa094a6f6bc7ebabd174e /src/core/test_core_quota_compliance.c
parent006eb1c4f3307fe89c786c2f1ac866611e33d3cd (diff)
downloadgnunet-7ae3bcd234e062c28f66db9758f61af401d0a707.tar.gz
gnunet-7ae3bcd234e062c28f66db9758f61af401d0a707.zip
-simplifying core API (#2400)
Diffstat (limited to 'src/core/test_core_quota_compliance.c')
-rw-r--r--src/core/test_core_quota_compliance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c
index df602b37f..bee8c02b4 100644
--- a/src/core/test_core_quota_compliance.c
+++ b/src/core/test_core_quota_compliance.c
@@ -527,7 +527,7 @@ init_notify (void *cls, struct GNUNET_CORE_Handle *server,
527 OKPP; 527 OKPP;
528 /* connect p2 */ 528 /* connect p2 */
529 p2.ch = 529 p2.ch =
530 GNUNET_CORE_connect (p2.cfg, 1, &p2, &init_notify, &connect_notify, 530 GNUNET_CORE_connect (p2.cfg, &p2, &init_notify, &connect_notify,
531 &disconnect_notify, &inbound_notify, GNUNET_YES, 531 &disconnect_notify, &inbound_notify, GNUNET_YES,
532 &outbound_notify, GNUNET_YES, handlers); 532 &outbound_notify, GNUNET_YES, handlers);
533 } 533 }
@@ -629,7 +629,7 @@ run (void *cls, char *const *args, const char *cfgfile,
629 &current_quota_p2_out)); 629 &current_quota_p2_out));
630 630
631 p1.ch = 631 p1.ch =
632 GNUNET_CORE_connect (p1.cfg, 1, &p1, &init_notify, &connect_notify, 632 GNUNET_CORE_connect (p1.cfg, &p1, &init_notify, &connect_notify,
633 &disconnect_notify, &inbound_notify, GNUNET_YES, 633 &disconnect_notify, &inbound_notify, GNUNET_YES,
634 &outbound_notify, GNUNET_YES, handlers); 634 &outbound_notify, GNUNET_YES, handlers);
635} 635}