Skip to content

Commit

Permalink
fix detecting imap in libcurl
Browse files Browse the repository at this point in the history
Follow-up to 67d81bf
  • Loading branch information
vszakats committed Dec 7, 2023
1 parent 96b4f40 commit 84f7a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trurl.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static void show_version(void)
bool supports_imap = false;
const char *const *protocol_name = data->protocols;
while(*protocol_name && !supports_imap) {
supports_imap = !strncmp(*protocol_name, "IMAP", 3);
supports_imap = !strncmp(*protocol_name, "imap", 3);
protocol_name++;
}
#endif
Expand Down

0 comments on commit 84f7a4a

Please sign in to comment.