git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5df6bcf
)
Add initialization of LOADSTAT with zero
author
Maxim Mamontov
<faust@gts.dp.ua>
Mon, 11 Apr 2011 13:33:30 +0000
(16:33 +0300)
committer
Maxim Mamontov
<faust@gts.dp.ua>
Mon, 11 Apr 2011 13:33:30 +0000
(16:33 +0300)
projects/sgauth/web.cpp
patch
|
blob
|
history
diff --git
a/projects/sgauth/web.cpp
b/projects/sgauth/web.cpp
index 6b49b3259d6d669ef2e03a638cc7d0057602619b..6e2d4acadbed89607ba7feb3b5fc35b45261031c 100644
(file)
--- 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()