fix: examine imap folders with spaces in label

SVN revision: 56940
This commit is contained in:
Hannes Janetzek 2011-02-10 22:50:53 +00:00
parent 0addfde87d
commit b15df6e387
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ _mail_imap_server_data (void *data, int type, void *event)
}
break;
case IMAP_STATE_AUTHENTICATED:
len = snprintf (out, sizeof (out), "A%04i EXAMINE %s\r\n", ic->cmd++,
len = snprintf (out, sizeof (out), "A%04i EXAMINE \"%s\"\r\n", ic->cmd++,
ic->config->new_path);
ecore_con_server_send (ic->server, out, len);
ic->state = IMAP_STATE_SEARCH_UNSEEN;