From 87587c0e1dd2c04e49e964b8d52146d95b7afac5 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Mon, 11 Apr 2011 16:33:30 +0300 Subject: [PATCH] Add initialization of LOADSTAT with zero --- projects/sgauth/web.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() -- 2.43.2