Commit ef70dd89 authored by Stephen Morris's avatar Stephen Morris
Browse files

[3484] Correct error in example code

parent 4410b04b
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment