From 3664626704af8aee4f4a6097f48d918c1c17b216 Mon Sep 17 00:00:00 2001 From: Cyril Soler Date: Tue, 2 Feb 2016 12:14:39 -0500 Subject: [PATCH] added missing check for mNetService --- libretroshare/src/gxs/rsgenexchange.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libretroshare/src/gxs/rsgenexchange.cc b/libretroshare/src/gxs/rsgenexchange.cc index 772ed6c46..70fb78aeb 100644 --- a/libretroshare/src/gxs/rsgenexchange.cc +++ b/libretroshare/src/gxs/rsgenexchange.cc @@ -2367,7 +2367,8 @@ void RsGenExchange::publishGrps() else mDataAccess->addGroupData(grp); - mNetService->subscribeStatusChanged(grpId,true) ; + if(mNetService!=NULL) + mNetService->subscribeStatusChanged(grpId,true) ; } else {