mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Fixed possible endless loop in replace_inline_img
SVN revision: 1977
This commit is contained in:
parent
817bc1ed4f
commit
9ffc0f41d4
@ -5523,7 +5523,8 @@ void replace_inline_img(char *str)
|
|||||||
sprintf(p, "<img src=\"cid:att%d@psi.ch\">", index-1);
|
sprintf(p, "<img src=\"cid:att%d@psi.ch\">", index-1);
|
||||||
memmove(p+strlen(p), pn, strlen(pn)+1);
|
memmove(p+strlen(p), pn, strlen(pn)+1);
|
||||||
p++;
|
p++;
|
||||||
}
|
} else
|
||||||
|
p++;
|
||||||
}
|
}
|
||||||
} while (p != NULL);
|
} while (p != NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user