Fixed possible endless loop in replace_inline_img

SVN revision: 1977
This commit is contained in:
Stefan Ritt 2007-12-13 07:04:31 +00:00
parent 817bc1ed4f
commit 9ffc0f41d4

View File

@ -5523,7 +5523,8 @@ void replace_inline_img(char *str)
sprintf(p, "<img src=\"cid:att%d@psi.ch\">", index-1);
memmove(p+strlen(p), pn, strlen(pn)+1);
p++;
}
} else
p++;
}
} while (p != NULL);
}