Windows: Fix MSVC build

This commit is contained in:
Vicki Pfau 2021-08-10 23:14:45 -07:00
parent 399a58161b
commit 4552c9c33e
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ static void _updateUpdate(struct mUpdate* update, const char* item, const char*
} }
static void _updateList(const char* key, const char* value, void* user) { static void _updateList(const char* key, const char* value, void* user) {
char channel[64] = {}; char channel[64] = {0};
const char* dotLoc; const char* dotLoc;
if (strncmp("medusa.", key, 7) == 0) { if (strncmp("medusa.", key, 7) == 0) {
dotLoc = strchr(&key[7], '.'); dotLoc = strchr(&key[7], '.');