diff --git a/main.c b/main.c index 36d1b79..c1ea626 100644 --- a/main.c +++ b/main.c @@ -791,7 +791,7 @@ static void *sm_memmem(const void *haystack, size_t hlen, const void *needle, si return NULL; } -static struct mg_mgr *g_mgr = NULL; /* global for send_elf_to_elfldr chunked send */ +static struct mg_mgr *smg_mgr = NULL; /* for send_elf_to_elfldr chunked send */ static int send_elf_to_elfldr(const char *path) { FILE *elf = fopen(path,"rb"); if(!elf) return -1; int ports[]={9021,9020,0}; int sock=-1; @@ -813,7 +813,7 @@ static int send_elf_to_elfldr(const char *path) { while(off