diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-11-16 17:41:13 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-11-16 17:41:13 +0000 |
commit | ba0bf2a585c2b59890d8f67074b74725430e86e8 (patch) | |
tree | d4f98f90560b63b632b686a5a6cb6a03c52c6d8a /src/conversation/gnunet-conversation.c | |
parent | e6fdcba7a3f54eefde196ccbc606acd62d30fb0f (diff) | |
download | gnunet-ba0bf2a585c2b59890d8f67074b74725430e86e8.tar.gz gnunet-ba0bf2a585c2b59890d8f67074b74725430e86e8.zip |
-remove GNUNET_MQ_impl_send_commit, make it part of send_continue, to ensure calling the continuation _last_
Diffstat (limited to 'src/conversation/gnunet-conversation.c')
-rw-r--r-- | src/conversation/gnunet-conversation.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/conversation/gnunet-conversation.c b/src/conversation/gnunet-conversation.c index 45ecdac91..05b3044b6 100644 --- a/src/conversation/gnunet-conversation.c +++ b/src/conversation/gnunet-conversation.c | |||
@@ -787,7 +787,7 @@ do_resume (const char *args) | |||
787 | case PS_ERROR: | 787 | case PS_ERROR: |
788 | FPRINTF (stderr, | 788 | FPRINTF (stderr, |
789 | "%s", | 789 | "%s", |
790 | _("There is no call that could be suspended right now.\n")); | 790 | _("There is no call that could be resumed right now.\n")); |
791 | return; | 791 | return; |
792 | case PS_LISTEN: | 792 | case PS_LISTEN: |
793 | /* expected state, do resume logic */ | 793 | /* expected state, do resume logic */ |
@@ -1054,6 +1054,8 @@ handle_command (void *cls, | |||
1054 | ptr = &message[strlen (commands[i].command)]; | 1054 | ptr = &message[strlen (commands[i].command)]; |
1055 | while (isspace ((int) *ptr)) | 1055 | while (isspace ((int) *ptr)) |
1056 | ptr++; | 1056 | ptr++; |
1057 | if ('\0' == ptr) | ||
1058 | ptr = NULL; | ||
1057 | commands[i].Action (ptr); | 1059 | commands[i].Action (ptr); |
1058 | } | 1060 | } |
1059 | 1061 | ||