mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-27 12:49:01 +08:00
formatting
This commit is contained in:
parent
22322f2851
commit
c511671e33
@ -477,7 +477,7 @@ cry(struct mg_connection *conn, const char *fmt, ...)
|
||||
(void) fprintf(fp, "%s", buf);
|
||||
fputc('\n', fp);
|
||||
funlockfile(fp);
|
||||
// (void) fclose(fp);
|
||||
/* (void) fclose(fp); */
|
||||
}
|
||||
}
|
||||
conn->request_info.log_message = NULL;
|
||||
@ -499,7 +499,7 @@ static void ssl_cry(struct mg_connection *conn, const char *fmt, ...) {
|
||||
/* then loop through any unlogged OpenSSL errors */
|
||||
unsigned long err;
|
||||
while ((err = ERR_get_error()) != 0) {
|
||||
cry(conn, " OpenSSL: %s", ERR_error_string(err, NULL));
|
||||
cry(conn, " --> OpenSSL: %s", ERR_error_string(err, NULL));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user