* elmo-imap4.el (elmo-imap4-search-internal-primitive): Remove
authorokazaki <okazaki>
Fri, 13 Oct 2000 08:26:42 +0000 (08:26 +0000)
committerokazaki <okazaki>
Fri, 13 Oct 2000 08:26:42 +0000 (08:26 +0000)
an invalid SPACE character ahead of `SEARCH' command.  Move
a valid SPACE character following `SEARCH' from conditional
`format' arguments to control-strings.

elmo/elmo-imap4.el

index 536e310..41a2180 100644 (file)
@@ -763,17 +763,17 @@ BUFFER must be a single-byte buffer."
        (elmo-imap4-send-command-wait session
                                     (format
                                      (if elmo-imap4-use-uid
-                                         "uid search%s%s%s %s"
-                                       " search%s%s%s %s")
+                                         "uid search %s%s%s %s"
+                                       "search %s%s%s %s")
                                      (if from-msgs
                                          (concat
-                                          (if elmo-imap4-use-uid " uid ")
+                                          (if elmo-imap4-use-uid "uid ")
                                           (cdr
                                            (car 
                                             (elmo-imap4-make-number-set-list
                                              from-msgs)))
                                           " ")
-                                       " ")
+                                       "")
                                      (if (eq (elmo-filter-type filter)
                                              'unmatch)
                                          "not " "")