git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convertor project is renamed to "sgconv".
[stg.git]
/
projects
/
stargazer
/
plugins
/
other
/
smux
/
tables.cpp
diff --git
a/projects/stargazer/plugins/other/smux/tables.cpp
b/projects/stargazer/plugins/other/smux/tables.cpp
index 962c91a8207f3e288ceb2e1eb1adb1ffcc56223f..25b2dd85d8372b880bfa1be5e85f3b45ccafbede 100644
(file)
--- a/
projects/stargazer/plugins/other/smux/tables.cpp
+++ b/
projects/stargazer/plugins/other/smux/tables.cpp
@@
-28,9
+28,10
@@
assert(handle && "USERS::OpenSearch is always correct");
USER_PTR user;
while (!users.SearchNext(handle, &user))
{
USER_PTR user;
while (!users.SearchNext(handle, &user))
{
+ if (user->GetDeleted())
+ continue;
std::string tariffName(user->GetProperty().tariffName.ConstData());
std::string tariffName(user->GetProperty().tariffName.ConstData());
- std::map<std::string, size_t>::iterator it;
- it = data.lower_bound(tariffName);
+ std::map<std::string, size_t>::iterator it(data.lower_bound(tariffName));
if (it == data.end() ||
it->first != tariffName)
{
if (it == data.end() ||
it->first != tariffName)
{