diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-07-15 23:43:00 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-07-15 23:43:00 +0000 |
commit | 0853f000f4b86192d7b89de03b3871581a8c1382 (patch) | |
tree | 2c3b1060e45bdf7fee6ff6c023afd0b5089862ab /src/transport/plugin_transport.h | |
parent | 1d6378f763a35224e22ad49b71a1373252dd1120 (diff) | |
download | gnunet-0853f000f4b86192d7b89de03b3871581a8c1382.tar.gz gnunet-0853f000f4b86192d7b89de03b3871581a8c1382.zip |
bugfixes
Diffstat (limited to 'src/transport/plugin_transport.h')
-rw-r--r-- | src/transport/plugin_transport.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/transport/plugin_transport.h b/src/transport/plugin_transport.h index 10fad4886..2a2e90d2a 100644 --- a/src/transport/plugin_transport.h +++ b/src/transport/plugin_transport.h | |||
@@ -349,7 +349,11 @@ typedef void * | |||
349 | * @param plugin_context value we were asked to pass to this plugin | 349 | * @param plugin_context value we were asked to pass to this plugin |
350 | * to respond to the given peer (use is optional, | 350 | * to respond to the given peer (use is optional, |
351 | * but may speed up processing), can be NULL (if | 351 | * but may speed up processing), can be NULL (if |
352 | * NULL was returned from the transmit function) | 352 | * NULL was returned from the transmit function); note |
353 | * that use of NULL is dangerous since then this call may | ||
354 | * cancel any session with the target peer (including | ||
355 | * HELLO validation sessions), which is likely not what | ||
356 | * is intended. | ||
353 | * @param service_context must correspond to the service context | 357 | * @param service_context must correspond to the service context |
354 | * of the corresponding Transmit call; the plugin should | 358 | * of the corresponding Transmit call; the plugin should |
355 | * not cancel a send call made with a different service | 359 | * not cancel a send call made with a different service |