about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--imbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/imbox.c b/imbox.c
index ebbe234..850e9b8 100644
--- a/imbox.c
+++ b/imbox.c
@@ -181,7 +181,7 @@ int tlsClose(void *_tls) {
 	X(Bad, "BAD") \
 	X(Bye, "BYE") \
 	X(Login, "LOGIN") \
-	X(Select, "SELECT") \
+	X(Examine, "EXAMINE") \
 	X(Search, "SEARCH") \
 	X(Fetch, "FETCH")
 
@@ -312,9 +312,9 @@ int main(int argc, char *argv[]) {
 				login = true;
 			}
 			break; case Login: {
-				fprintf(imap, "%s SELECT %s\r\n", Atoms[Select], mailbox);
+				fprintf(imap, "%s EXAMINE %s\r\n", Atoms[Examine], mailbox);
 			}
-			break; case Select: {
+			break; case Examine: {
 				fprintf(imap, "%s UID SEARCH CHARSET UTF-8", Atoms[Search]);
 				if (subject) fprintf(imap, " SUBJECT \"%s\"", subject);
 				if (from) fprintf(imap, " FROM \"%s\"", from);
box/commit/scoop.c?h=1.4p1&id=80dd4af7bdd224679b3c2c17328f6498cd4a15d1&follow=1'>Fix search expression appendJune McEnroe 2020-05-21Fix dbPrepare errx callJune McEnroe 2020-05-21Add only the necessary expressions to scoop's queryJune McEnroe 2020-05-21Explicitly set stdout line buffered when pagingJune McEnroe 2020-05-21Do not sort results in scoop by defaultJune McEnroe 2020-05-21Expand and clarify documentationJune McEnroe 2020-05-21Execute PAGER with the SHELLJune McEnroe 2020-05-21Automatically perform database migrations in litterboxJune McEnroe 2020-05-20Don't install rc scripts on other platformsJune McEnroe 2020-05-20Rewrite build and install like pounce 1.3June McEnroe 2020-05-20Update email addressesJune McEnroe 2020-04-23Call updateConsumer from handleError 1.2p1June McEnroe 2020-04-20Use . as ${LDLIBS.$@} separatorJune McEnroe 2020-04-05Error on invalid ISUPPORT values 1.2June McEnroe 2020-04-05Only set RCS on FreeBSDJune McEnroe 2020-04-05Log bans and unbansJune McEnroe 2020-04-05Parse mode types from ISUPPORTJune McEnroe 2020-04-05Add unscoop matchers for ban/unban eventsJune McEnroe 2020-04-05Check unscoop regexps with make testJune McEnroe 2020-04-05Add unscoop -n flag for checking regexpsJune McEnroe 2020-04-05Add Ban and Unban event typesJune McEnroe 2020-04-02Update styleJune McEnroe 2020-03-31Update unscoop catgirl matchersJune McEnroe 2020-03-31Fix writing verbose to stderrJune McEnroe 2020-03-02Include <>/-/* around nicks in scoop coloring 1.1June McEnroe 2020-03-02Replace .mk files with configure scriptJune McEnroe 2020-02-28Implement the causal.agency/consumer capabilityJune McEnroe 2020-02-22Include <>/-/* around nicks in coloringJune McEnroe 2020-02-22Use (almost) the full range of IRC colors for nicksJune McEnroe