diff --git a/deps/aha/aha.c b/deps/aha/aha.c index ca73453..cb3dd35 100644 --- a/deps/aha/aha.c +++ b/deps/aha/aha.c @@ -335,7 +335,7 @@ char * aha(char *input) append_output(&output, " ", &size, &outat); line=0; momline++; - append_output(&output, "\n", &size, &outat); + append_output(&output, "
", &size, &outat); } else if (c!=8) { diff --git a/www_msgs.c b/www_msgs.c index d724339..d44cc8d 100644 --- a/www_msgs.c +++ b/www_msgs.c @@ -469,14 +469,11 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i memcpy(aha_text, body, jmh.TxtLen); aha_text[jmh.TxtLen] = '\0'; - fprintf(stderr, "Aha IN\n"); aha_out = aha(aha_text); - fprintf(stderr, "Aha OUT %d\n", strlen(aha_out)); while (len + strlen(aha_out) > max_len - 1) { max_len += 4096; page = (char *)realloc(page, max_len); } - fprintf(stderr, "here"); strcat(page, aha_out); len += strlen(aha_out);