  }
  
  - (NSString *)_searchExprForQual:(EOQualifier *)_qualifier {
-@@ -1093,7 +1112,18 @@
+@@ -1093,7 +1113,18 @@
       Eg: UID SORT ( DATE REVERSE SUBJECT ) UTF-8 TODO
    */
    NSString *tmp;

   if (![[result valueForKey:@"result"] boolValue]) {
     return [self errorForResult:result 
 		 text:@"Failed to change flags of IMAP4 message"];
@@ -911,4 +911,16 @@
   return ms;
 }
 
+- (id) retain
+{
+  NSLog (@"connection (%Lx) retained: %d", self, [self retainCount] + 1);
+  return [super retain];
+}
+
+- (void) release
+{
+  NSLog (@"connection (%Lx) released: %d", self, [self retainCount] - 1);
+  [super release];
+}
+
 @end /* NGImap4Connection */
Index: sope-mime/NGImap4/NGImap4ResponseNormalizer.m
===================================================================
--- sope-mime/NGImap4/NGImap4ResponseNormalizer.m	(révision 1626)

   return [self->normer normalizeSearchResponse:[self processCommand:s]];
 }
 
@@ -1193,6 +1225,79 @@
 
 /* Private Methods */
 
