+ char* tag_end=strchr(ptr,'>');
+ char* src;
+ /* FIXME - handle this situation (maybe someone opened an <img cid...
+ * and then ended the message)
+ */
+ if (!tag_end) {
+ syslog(9, "tag_end is null and ptr is:\n");
+ syslog(9, "%s\n", ptr);
+ syslog(9, "Theoretical bytes remaining: %d\n", (int)(msgend - ptr));
+ }