mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +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);
|
||||
memmove(p+strlen(p), pn, strlen(pn)+1);
|
||||
p++;
|
||||
}
|
||||
} else
|
||||
p++;
|
||||
}
|
||||
} while (p != NULL);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user