We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de8118e commit 59a642fCopy full SHA for 59a642f
imap-send.c
@@ -1328,13 +1328,9 @@ static char *imap_folder;
1328
1329
static int git_imap_config(const char *key, const char *val, void *cb)
1330
{
1331
- char imap_key[] = "imap.";
1332
-
1333
- if (strncmp(key, imap_key, sizeof imap_key - 1))
+ if (!skip_prefix(key, "imap.", &key))
1334
return 0;
1335
1336
- key += sizeof imap_key - 1;
1337
1338
/* check booleans first, and barf on others */
1339
if (!strcmp("sslverify", key))
1340
server.ssl_verify = git_config_bool(key, val);
0 commit comments