diff options
author | Bart Polot <bart@net.in.tum.de> | 2016-10-26 04:20:48 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2016-10-26 04:20:48 +0000 |
commit | 2f3bf5f8f2f80ead818e514ab2f69052cc201a78 (patch) | |
tree | 8f06a3b1f687f747dd3d5742a291afe32bb55864 /src/cadet/gnunet-service-cadet_connection.h | |
parent | 3968a7b989f996116e2ddb679482655e25aa20fd (diff) | |
download | gnunet-2f3bf5f8f2f80ead818e514ab2f69052cc201a78.tar.gz gnunet-2f3bf5f8f2f80ead818e514ab2f69052cc201a78.zip |
- don't allocate message copies on the heap
Diffstat (limited to 'src/cadet/gnunet-service-cadet_connection.h')
-rw-r--r-- | src/cadet/gnunet-service-cadet_connection.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet_connection.h b/src/cadet/gnunet-service-cadet_connection.h index ac2a1492f..7c41a28bf 100644 --- a/src/cadet/gnunet-service-cadet_connection.h +++ b/src/cadet/gnunet-service-cadet_connection.h | |||
@@ -491,8 +491,7 @@ GCC_cancel (struct CadetConnectionQueue *q); | |||
491 | * Sends an already built message on a connection, properly registering | 491 | * Sends an already built message on a connection, properly registering |
492 | * all used resources. | 492 | * all used resources. |
493 | * | 493 | * |
494 | * @param message Message to send. Function makes a copy of it. | 494 | * @param message Message to send. |
495 | * If message is not hop-by-hop, decrements TTL of copy. | ||
496 | * @param payload_type Type of payload, in case the message is encrypted. | 495 | * @param payload_type Type of payload, in case the message is encrypted. |
497 | * @param payload_id ID of the payload (PID, ACK, ...). | 496 | * @param payload_id ID of the payload (PID, ACK, ...). |
498 | * @param c Connection on which this message is transmitted. | 497 | * @param c Connection on which this message is transmitted. |