]> git.stg.codes - stg.git/commitdiff
Add initialization of LOADSTAT with zero
authorMaxim Mamontov <faust@gts.dp.ua>
Mon, 11 Apr 2011 13:33:30 +0000 (16:33 +0300)
committerMaxim Mamontov <faust@gts.dp.ua>
Mon, 11 Apr 2011 13:33:30 +0000 (16:33 +0300)
projects/sgauth/web.cpp

index 6b49b3259d6d669ef2e03a638cc7d0057602619b..6e2d4acadbed89607ba7feb3b5fc35b45261031c 100644 (file)
@@ -66,6 +66,8 @@ for (int i = 0; i < DIR_NUM; i++)
     dirName[i] = "-";
 
 refreshPeriod = 5;
     dirName[i] = "-";
 
 refreshPeriod = 5;
+
+memset(&ls, 0, sizeof(ls));
 }
 //---------------------------------------------------------------------------
 void WEB::Start()
 }
 //---------------------------------------------------------------------------
 void WEB::Start()