Commit 9ea7b6f8 authored by Sergey Lyubka's avatar Sergey Lyubka

Removed unnecessary buffer initializer

parent 580d3da3
...@@ -3159,7 +3159,7 @@ static void handle_lsp_request(struct connection *conn, const char *path, ...@@ -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");
......
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