another seg fault ;(
This commit is contained in:
parent
94405100aa
commit
eebec77272
@ -469,9 +469,9 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
|
|||||||
|
|
||||||
memcpy(aha_text, body, jmh.TxtLen);
|
memcpy(aha_text, body, jmh.TxtLen);
|
||||||
aha_text[jmh.TxtLen] = '\0';
|
aha_text[jmh.TxtLen] = '\0';
|
||||||
|
fprintf(stderr, "Aha IN\n");
|
||||||
aha_out = aha(aha_text);
|
aha_out = aha(aha_text);
|
||||||
|
fprintf(stderr, "Aha OUT\n");
|
||||||
while (len + strlen(aha_out) > max_len - 1) {
|
while (len + strlen(aha_out) > max_len - 1) {
|
||||||
max_len += 4096;
|
max_len += 4096;
|
||||||
page = (char *)realloc(page, max_len);
|
page = (char *)realloc(page, max_len);
|
||||||
|
Reference in New Issue
Block a user