aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-11-29 23:15:40 +0000
committerChristian Grothoff <christian@grothoff.org>2014-11-29 23:15:40 +0000
commit2550aed123e3e3d8fb02a30c8422f9b939a3e725 (patch)
treea59e4bef99d683a2cd549d24d1251b8748a4fa57 /src/set/gnunet-service-set.c
parentf4c9c6514494547973b8962f22fce8266afd4992 (diff)
downloadgnunet-2550aed123e3e3d8fb02a30c8422f9b939a3e725.tar.gz
gnunet-2550aed123e3e3d8fb02a30c8422f9b939a3e725.zip
-fix nested context copy
Diffstat (limited to 'src/set/gnunet-service-set.c')
-rw-r--r--src/set/gnunet-service-set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c
index 8dc111a4c..34824f46d 100644
--- a/src/set/gnunet-service-set.c
+++ b/src/set/gnunet-service-set.c
@@ -608,7 +608,7 @@ handle_incoming_msg (struct Operation *op,
608 /* Make a copy of the nested_context (application-specific context 608 /* Make a copy of the nested_context (application-specific context
609 information that is opaque to set) so we can pass it to the 609 information that is opaque to set) so we can pass it to the
610 listener later on */ 610 listener later on */
611 if (NULL != spec->context_msg) 611 if (NULL != nested_context)
612 spec->context_msg = GNUNET_copy_message (nested_context); 612 spec->context_msg = GNUNET_copy_message (nested_context);
613 spec->operation = ntohl (msg->operation); 613 spec->operation = ntohl (msg->operation);
614 spec->app_id = msg->app_id; 614 spec->app_id = msg->app_id;