aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore
diff options
context:
space:
mode:
authorGabor X Toth <*@tg-x.net>2016-01-06 12:28:47 +0000
committerGabor X Toth <*@tg-x.net>2016-01-06 12:28:47 +0000
commit80d2de6cdc4d253c7fbc6a4bc067d856aab9cca9 (patch)
tree86e33af618c53b82afd0cb4855d7da595fcd5acd /src/psycstore
parent7d1dfe26d99376a341bb150eb89ba717bb883077 (diff)
downloadgnunet-80d2de6cdc4d253c7fbc6a4bc067d856aab9cca9.tar.gz
gnunet-80d2de6cdc4d253c7fbc6a4bc067d856aab9cca9.zip
psyc/social: local join flag; social service: leave place, save _file
Diffstat (limited to 'src/psycstore')
-rw-r--r--src/psycstore/psyc_util_lib.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/psycstore/psyc_util_lib.c b/src/psycstore/psyc_util_lib.c
index 9e6b1b770..e87d6106d 100644
--- a/src/psycstore/psyc_util_lib.c
+++ b/src/psycstore/psyc_util_lib.c
@@ -1264,12 +1264,15 @@ GNUNET_PSYC_message_parse (const struct GNUNET_PSYC_MessageHeader *msg,
1264 1264
1265 struct GNUNET_PSYC_ReceiveHandle * 1265 struct GNUNET_PSYC_ReceiveHandle *
1266 recv = GNUNET_PSYC_receive_create (NULL, parse_message_part_cb, &cls); 1266 recv = GNUNET_PSYC_receive_create (NULL, parse_message_part_cb, &cls);
1267 GNUNET_PSYC_receive_message (recv, msg); 1267 int ret = GNUNET_PSYC_receive_message (recv, msg);
1268 GNUNET_PSYC_receive_destroy (recv); 1268 GNUNET_PSYC_receive_destroy (recv);
1269 1269
1270 if (GNUNET_OK != ret)
1271 return GNUNET_SYSERR;
1272
1270 return (GNUNET_PSYC_MESSAGE_STATE_END == cls.msg_state) 1273 return (GNUNET_PSYC_MESSAGE_STATE_END == cls.msg_state)
1271 ? GNUNET_OK 1274 ? GNUNET_OK
1272 : GNUNET_SYSERR; 1275 : GNUNET_NO;
1273} 1276}
1274 1277
1275 1278