From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 061c201a for
\n", scriptname, *scriptname == '\0' ? "" : "/", scriptname, *scriptname == '\0' ? "" : "/"); resp_end_html(); @@ -524,9 +524,9 @@ pg_noresult(const struct req *req, const { resp_begin_html(200, NULL); resp_searchform(req); - puts(""); + puts("
"); puts(msg); - puts("
"); + puts(""); resp_end_html(); } @@ -535,12 +535,12 @@ pg_error_badrequest(const char *msg) { resp_begin_html(400, "Bad Request"); - puts("\n"); + puts("
\n"); puts(msg); printf("Try again from the\n" - "main page.\n" - "
", scriptname); + "main page.\n" + "", scriptname); resp_end_html(); } @@ -548,7 +548,7 @@ static void pg_error_internal(void) { resp_begin_html(500, "Internal Server Error"); - puts("Internal Server Error
"); + puts("Internal Server Error
"); resp_end_html(); } @@ -590,27 +590,27 @@ pg_searchres(const struct req *req, stru resp_searchform(req); if (sz > 1) { - puts("\n" - "\n" + " | \n" + "q.manpath, r[i].file); printf("\">"); html_print(r[i].names); - printf("\n" - " | \n" - ""); + printf("\n" + " | \n" + ""); html_print(r[i].output); - puts(" | \n" - "
You specified an invalid manual file.
"); + puts("You specified an invalid manual file.
"); return; } - puts(""); + puts("\n" + "\n" + ""); + puts(""); p = NULL; sz = 0; @@ -701,9 +701,9 @@ catman(const struct req *req, const char if ('\b' != p[i + 1]) { if (italic) - printf(""); + printf(""); if (bold) - printf(""); + printf(""); italic = bold = 0; html_putchar(p[i]); continue; @@ -714,9 +714,9 @@ catman(const struct req *req, const char if ('_' == p[i]) { if (bold) - printf(""); + printf(""); if ( ! italic) - printf(""); + printf(""); bold = 0; italic = 1; i += 2; @@ -738,9 +738,9 @@ catman(const struct req *req, const char ('*' == p[i] && '|' == p[i + 2]) || ('|' == p[i] && '*' == p[i + 2])) { if (italic) - printf(""); + printf(""); if (bold) - printf(""); + printf(""); italic = bold = 0; putchar('*'); i += 2; @@ -752,9 +752,9 @@ catman(const struct req *req, const char ('+' == p[i] && '|' == p[i + 1]) || ('|' == p[i] && '+' == p[i + 1])) { if (italic) - printf(""); + printf(""); if (bold) - printf(""); + printf(""); italic = bold = 0; putchar('+'); i += 2; @@ -764,9 +764,9 @@ catman(const struct req *req, const char /* Bold mode. */ if (italic) - printf(""); + printf(""); if ( ! bold) - printf(""); + printf(""); bold = 1; italic = 0; i += 2; @@ -779,9 +779,9 @@ catman(const struct req *req, const char */ if (italic) - printf(""); + printf(""); if (bold) - printf(""); + printf(""); if (i == len - 1 && p[i] != '\n') html_putchar(p[i]); @@ -790,8 +790,8 @@ catman(const struct req *req, const char } free(p); - puts("\n" - "
You specified an invalid manual file.
"); + puts("You specified an invalid manual file.
"); return; } -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv