mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-21 09:23:10 +08:00
Removed unnecessary buffer initializer
This commit is contained in:
parent
580d3da3c7
commit
9ea7b6f8ae
@ -3159,7 +3159,7 @@ static void handle_lsp_request(struct connection *conn, const char *path,
|
|||||||
|
|
||||||
static void open_local_endpoint(struct connection *conn) {
|
static void open_local_endpoint(struct connection *conn) {
|
||||||
static const char lua_pat[] = LUA_SCRIPT_PATTERN;
|
static const char lua_pat[] = LUA_SCRIPT_PATTERN;
|
||||||
char path[MAX_PATH_SIZE] = {'\0'};
|
char path[MAX_PATH_SIZE];
|
||||||
file_stat_t st;
|
file_stat_t st;
|
||||||
int exists = 0, is_directory = 0;
|
int exists = 0, is_directory = 0;
|
||||||
const char *cl_hdr = mg_get_header(&conn->mg_conn, "Content-Length");
|
const char *cl_hdr = mg_get_header(&conn->mg_conn, "Content-Length");
|
||||||
|
Loading…
Reference in New Issue
Block a user