comparison src/imap/imap-commands-util.c @ 21603:6d50f63cfa67

lib-storage: Add MAIL_ERROR_LIMIT
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 17 Feb 2017 18:56:23 +0200
parents 1f04b10661cc
children 6f2e7eb1ee90
comparison
equal deleted inserted replaced
21602:9aac2a64e5c2 21603:6d50f63cfa67
166 case MAIL_ERROR_INUSE: 166 case MAIL_ERROR_INUSE:
167 resp_code = IMAP_RESP_CODE_INUSE; 167 resp_code = IMAP_RESP_CODE_INUSE;
168 break; 168 break;
169 case MAIL_ERROR_CONVERSION: 169 case MAIL_ERROR_CONVERSION:
170 case MAIL_ERROR_INVALIDDATA: 170 case MAIL_ERROR_INVALIDDATA:
171 break;
172 case MAIL_ERROR_LIMIT:
173 resp_code = IMAP_RESP_CODE_LIMIT;
171 break; 174 break;
172 } 175 }
173 if (resp_code == NULL || *error_string == '[') 176 if (resp_code == NULL || *error_string == '[')
174 return t_strconcat("NO ", error_string, NULL); 177 return t_strconcat("NO ", error_string, NULL);
175 else 178 else