diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-10 11:29:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-10 11:29:59 +0000 |
commit | 4e49d814f8c52d784e8aa7bd57a40eda7656d3c0 (patch) | |
tree | 86f9971794e0d72f8de9ac2886fd11e85ccde7c1 /src/mesh | |
parent | 0a15f777a19feea3937264b6acf96685b76bbc45 (diff) | |
download | gnunet-4e49d814f8c52d784e8aa7bd57a40eda7656d3c0.tar.gz gnunet-4e49d814f8c52d784e8aa7bd57a40eda7656d3c0.zip |
another core API simplification due to ATS introduction
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 1 | ||||
-rw-r--r-- | src/mesh/mesh_api.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 8d6780493..e76d440cf 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -3370,7 +3370,6 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
3370 | &core_init, /* Call core_init once connected */ | 3370 | &core_init, /* Call core_init once connected */ |
3371 | &core_connect, /* Handle connects */ | 3371 | &core_connect, /* Handle connects */ |
3372 | &core_disconnect, /* remove peers on disconnects */ | 3372 | &core_disconnect, /* remove peers on disconnects */ |
3373 | NULL, /* Do we care about "status" updates? */ | ||
3374 | NULL, /* Don't notify about all incoming messages */ | 3373 | NULL, /* Don't notify about all incoming messages */ |
3375 | GNUNET_NO, /* For header only in notification */ | 3374 | GNUNET_NO, /* For header only in notification */ |
3376 | NULL, /* Don't notify about all outbound messages */ | 3375 | NULL, /* Don't notify about all outbound messages */ |
diff --git a/src/mesh/mesh_api.c b/src/mesh/mesh_api.c index 4e510e596..9c2af545b 100644 --- a/src/mesh/mesh_api.c +++ b/src/mesh/mesh_api.c | |||
@@ -872,7 +872,7 @@ GNUNET_MESH_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, void *cls, | |||
872 | 872 | ||
873 | ret->core = | 873 | ret->core = |
874 | GNUNET_CORE_connect (cfg, 42, ret, &core_startup, &core_connect, | 874 | GNUNET_CORE_connect (cfg, 42, ret, &core_startup, &core_connect, |
875 | &core_disconnect, NULL, NULL, GNUNET_NO, NULL, | 875 | &core_disconnect, NULL, GNUNET_NO, NULL, |
876 | GNUNET_NO, core_handlers); | 876 | GNUNET_NO, core_handlers); |
877 | ret->transport = | 877 | ret->transport = |
878 | GNUNET_TRANSPORT_connect (cfg, NULL, NULL, NULL, NULL, NULL); | 878 | GNUNET_TRANSPORT_connect (cfg, NULL, NULL, NULL, NULL, NULL); |