Commit c511671e authored by mlamb's avatar mlamb

formatting

parent 22322f28
...@@ -477,7 +477,7 @@ cry(struct mg_connection *conn, const char *fmt, ...) ...@@ -477,7 +477,7 @@ cry(struct mg_connection *conn, const char *fmt, ...)
(void) fprintf(fp, "%s", buf); (void) fprintf(fp, "%s", buf);
fputc('\n', fp); fputc('\n', fp);
funlockfile(fp); funlockfile(fp);
// (void) fclose(fp); /* (void) fclose(fp); */
} }
} }
conn->request_info.log_message = NULL; conn->request_info.log_message = NULL;
...@@ -499,7 +499,7 @@ static void ssl_cry(struct mg_connection *conn, const char *fmt, ...) { ...@@ -499,7 +499,7 @@ static void ssl_cry(struct mg_connection *conn, const char *fmt, ...) {
/* then loop through any unlogged OpenSSL errors */ /* then loop through any unlogged OpenSSL errors */
unsigned long err; unsigned long err;
while ((err = ERR_get_error()) != 0) { while ((err = ERR_get_error()) != 0) {
cry(conn, " OpenSSL: %s", ERR_error_string(err, NULL)); cry(conn, " --> OpenSSL: %s", ERR_error_string(err, NULL));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment