// Was this request a delete operation? If so, nuke it...
if (havebstr("deletenote")) {
if (!strcasecmp(bstr("deletenote"), "yes")) {
- serv_printf("DELE %ld", msgnum);
+ serv_printf("DELE %d", msgnum);
serv_getln(buf, sizeof buf);
begin_ajax_response();
wprintf("%s", buf);
v = vnote_new_from_msg(msgnum);
if (!v) {
begin_ajax_response();
- wprintf("Cannot locate a vNote within message %ld\n", msgnum);
+ wprintf("Cannot locate a vNote within message %d\n", msgnum);
end_ajax_response();
return;
}