Hi Chris,

> Register:CreateNewLineFromSocket: 17 BAD UID copy Software error

Ouch! I should have noted that earlier... Please apply the attached patch.

Regards,
Sergey

>From 2cf5e6f54a12f20abbe75a9ece8778bb7668db53 Mon Sep 17 00:00:00 2001
From: Sergey Poznyakoff <[email protected]>
Date: Mon, 11 Jun 2012 15:20:13 +0300
Subject: [PATCH] Fix a typo.

* imap4d/copy.c (imap4d_copy0): Invert condition.
---
 imap4d/copy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/imap4d/copy.c b/imap4d/copy.c
index cec19fe..12ad324 100644
--- a/imap4d/copy.c
+++ b/imap4d/copy.c
@@ -222,7 +222,7 @@ imap4d_copy0 (imap4d_tokbuf_t tok, int isuid, char **err_text)
   msgset_str = imap4d_tokbuf_getarg (tok, arg);
   name = imap4d_tokbuf_getarg (tok, arg + 1);
   status = mu_msgset_create (&msgset, mbox, MU_MSGSET_NUM);
-  if (!status)
+  if (status)
     {
       *err_text = "Software error";
       return RESP_BAD;
--
1.6.0.3

_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to