From 4e1cfea0241850dcd49bcf252760b6109ef991f0 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Mon, 10 Apr 2017 23:19:21 +0100 Subject: [PATCH] cmd_queue_full --- imap/command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imap/command.c b/imap/command.c index 3c4d3eeb5..41a5c9283 100644 --- a/imap/command.c +++ b/imap/command.c @@ -51,12 +51,12 @@ static const char * const Capabilities[] = { NULL }; -static int cmd_queue_full (IMAP_DATA* idata) +static bool cmd_queue_full (IMAP_DATA* idata) { if ((idata->nextcmd + 1) % idata->cmdslots == idata->lastcmd) - return 1; + return true; - return 0; + return false; } /* sets up a new command control block and adds it to the queue. -- 2.40.0