Skip to content

Commit

Permalink
Merge pull request #263 from haiwen/remove-reduandant-log
Browse files Browse the repository at this point in the history
remove redundant log
  • Loading branch information
killing committed Sep 9, 2019
2 parents d4d026d + c21d662 commit f097af5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions common/mq-mgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,8 @@ json_t *
seaf_mq_manager_pop_event (SeafMqManager *mgr, const char *channel)
{
GAsyncQueue *async_queue = g_hash_table_lookup (mgr->priv->chans, channel);
if (!async_queue) {
seaf_warning ("Unkonwn message channel %s.\n", channel);
if (!async_queue)
return NULL;
}

return g_async_queue_try_pop (async_queue);
}

0 comments on commit f097af5

Please sign in to comment.