From: Stephen Morris Date: Tue, 14 Jul 2015 11:59:19 +0000 (+0100) Subject: [3484] Correct error in example code X-Git-Tag: trac4006_base~25^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef70dd8960206f222ce28de3bbb3fa5d94984816;p=thirdparty%2Fkea.git [3484] Correct error in example code --- diff --git a/src/lib/hooks/hooks_user.dox b/src/lib/hooks/hooks_user.dox index 0122106549..5e82842f63 100644 --- a/src/lib/hooks/hooks_user.dox +++ b/src/lib/hooks/hooks_user.dox @@ -809,7 +809,7 @@ int context_create(CalloutHandle& handle) { // Callouts that use the context int pkt4_receive(CalloutHandle& handle) { // Retrieve the pointer to the SecurityInformation object - SecurityInformation si; + SecurityInformation* si; handle.getContext("security_information", si); : : @@ -822,7 +822,7 @@ int pkt4_receive(CalloutHandle& handle) { int pkt4_send(CalloutHandle& handle) { // Retrieve the pointer to the SecurityInformation object - SecurityInformation si; + SecurityInformation* si; handle.getContext("security_information", si); : : @@ -836,7 +836,7 @@ int pkt4_send(CalloutHandle& handle) { // destroyed. int context_destroy(CalloutHandle& handle) { // Retrieve the pointer to the SecurityInformation object - SecurityInformation si; + SecurityInformation* si; handle.getContext("security_information", si); // Delete the pointed-to memory.