File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,14 +46,14 @@ static const char * localizedDescriptionTable[] = {
4646 " An application specific password is required" , /* * MCOErrorGmailApplicationSpecificPasswordRequired */
4747 " An error when requesting date" , /* * MCOErrorServerDate */
4848 " No valid server found" , /* * MCOErrorNoValidServerFound */
49- NULL , /* * MCOErrorCustomCommand */
49+ " Error while running custom command " , /* * MCOErrorCustomCommand */
5050 " Cannot send message due to possible spam detected by server" , /* * MCOErrorSendMessageSpamSuspected */
5151 " User is over the limit for messages allowed to be sent in a single day" , /* * MCOErrorSendMessageDailyLimitExceeded */
5252};
5353
5454String * mailcore::errorMessageWithErrorCode (ErrorCode errorCode)
5555{
56- if (errorCode < 0 || errorCode == ErrorCustomCommand ) {
56+ if (errorCode < 0 ) {
5757 return NULL ;
5858 }
5959 if (errorCode >= sizeof (localizedDescriptionTable) / sizeof (localizedDescriptionTable[0 ])) {
You can’t perform that action at this time.
0 commit comments