diff options
author | psyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet> | 2017-11-26 05:31:59 +0000 |
---|---|---|
committer | psyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet> | 2017-11-26 05:31:59 +0000 |
commit | a2ce0b6a76788e5a5fe32086c6619ffc143e09eb (patch) | |
tree | 21896f3a98f2baadd21c08420830d18383de5285 /src/social | |
parent | 2d12edeff095f947c87c8c0a6fe66c125eaf9d8e (diff) | |
download | gnunet-a2ce0b6a76788e5a5fe32086c6619ffc143e09eb.tar.gz gnunet-a2ce0b6a76788e5a5fe32086c6619ffc143e09eb.zip |
can't find who suggested this crasher fix.. delayed by pgp
Diffstat (limited to 'src/social')
-rw-r--r-- | src/social/social_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/social/social_api.c b/src/social/social_api.c index af1d6e57e..d57d16cfb 100644 --- a/src/social/social_api.c +++ b/src/social/social_api.c | |||
@@ -2693,6 +2693,8 @@ GNUNET_SOCIAL_app_disconnect (struct GNUNET_SOCIAL_App *app, | |||
2693 | GNUNET_ContinuationCallback disconnect_cb, | 2693 | GNUNET_ContinuationCallback disconnect_cb, |
2694 | void *disconnect_cls) | 2694 | void *disconnect_cls) |
2695 | { | 2695 | { |
2696 | if (NULL == app) return; | ||
2697 | |||
2696 | app->disconnect_cb = disconnect_cb; | 2698 | app->disconnect_cb = disconnect_cb; |
2697 | app->disconnect_cls = disconnect_cls; | 2699 | app->disconnect_cls = disconnect_cls; |
2698 | 2700 | ||