Diff between b21233a20297abdde47673193088093efa96dc88 and bb103648c90c922c1af1d2b039c1d98fa32fc703

Changed Files

File Additions Deletions Status
src/shared/mgmt.c +1 -1 modified

Full Patch

diff --git a/src/shared/mgmt.c b/src/shared/mgmt.c
index e9e5105..9bdab00 100644
--- a/src/shared/mgmt.c
+++ b/src/shared/mgmt.c
@@ -146,7 +146,7 @@ static gboolean can_write_data(GIOChannel *channel, GIOCondition cond,
 	request = g_queue_pop_head(mgmt->reply_queue);
 	if (!request) {
 		/* only reply commands can jump the queue */
-		if (!mgmt->pending_list)
+		if (mgmt->pending_list)
 			return FALSE;
 
 		request = g_queue_pop_head(mgmt->request_queue);