From 0708f383411f33238eca2d5000ecd310019f8c21 Mon Sep 17 00:00:00 2001 From: Olivier Roques Date: Thu, 9 Jan 2020 19:19:05 +0100 Subject: [HICN-471] Fix wrong callback check in RAAQM The wrong callback is null-checked before it is used in RAAQM. Signed-off-by: Olivier Roques Change-Id: Id602453ad18d0297663b7cef66daa58cc5c0891a --- libtransport/src/hicn/transport/protocols/raaqm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtransport') diff --git a/libtransport/src/hicn/transport/protocols/raaqm.cc b/libtransport/src/hicn/transport/protocols/raaqm.cc index e8d0e659a..ec7ce19cc 100644 --- a/libtransport/src/hicn/transport/protocols/raaqm.cc +++ b/libtransport/src/hicn/transport/protocols/raaqm.cc @@ -328,7 +328,7 @@ void RaaqmTransportProtocol::onContentObject( ConsumerInterestCallback *callback_interest = VOID_HANDLER; socket_->getSocketOption(ConsumerCallbacksOptions::INTEREST_SATISFIED, &callback_interest); - if (*callback_content_object) { + if (*callback_interest) { (*callback_interest)(*socket_, *interest); } -- cgit 1.2.3-korg