diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-01-02 06:03:20 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-01-02 06:03:20 +0200 |
commit | 325d78a5cddca0baa55f962ee7e3d2141e0fdc04 (patch) | |
tree | 67d054cf5323de39332650a90ab4e1fb4c17f332 | |
parent | 2c6dba2732e338fbadd569d5d2ede6009f41c9c2 (diff) |
fixed prescense verification bug
-rwxr-xr-x | src/utilities.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utilities.cpp b/src/utilities.cpp index 84bcfca..a430964 100755 --- a/src/utilities.cpp +++ b/src/utilities.cpp @@ -983,7 +983,8 @@ static JABBER_HANDLER_FUNC PrescenseHandler(IJabberInterface *ji, HXML node, voi if(_tcsstr(nodename2, _T("status")))
{
LPCTSTR status = xi.getText(local_node2);
- status_str = status;
+ if(status)
+ status_str = status;
break;
}
local_node2 = xi.getChild(node, n);
|