Successful deletion is not an error

This commit is contained in:
jacksonmj 2011-04-02 16:00:28 +01:00 committed by Simon
parent 90f8c4f483
commit 63089242a5

View File

@ -3786,6 +3786,12 @@ int execute_delete(pixel *vid_buf, char *id)
free(result); free(result);
return 0; return 0;
} }
if (result && strncmp(result, "INFO: ", 6)==0)
{
info_ui(vid_buf, "Info", result+6);
free(result);
return 0;
}
if (result && strncmp(result, "OK", 2)) if (result && strncmp(result, "OK", 2))
{ {
error_ui(vid_buf, 0, result); error_ui(vid_buf, 0, result);