From: Maxim Mamontov Date: Mon, 11 Apr 2011 13:33:30 +0000 (+0300) Subject: Add initialization of LOADSTAT with zero X-Git-Tag: 2.407-rc3~11 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/87587c0e1dd2c04e49e964b8d52146d95b7afac5 Add initialization of LOADSTAT with zero --- diff --git a/projects/sgauth/web.cpp b/projects/sgauth/web.cpp index 6b49b325..6e2d4aca 100644 --- a/projects/sgauth/web.cpp +++ b/projects/sgauth/web.cpp @@ -66,6 +66,8 @@ for (int i = 0; i < DIR_NUM; i++) dirName[i] = "-"; refreshPeriod = 5; + +memset(&ls, 0, sizeof(ls)); } //--------------------------------------------------------------------------- void WEB::Start()