summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9715338)
raw | patch | inline | side by side (parent: 9715338)
author | dwyip <dwyip@users.sourceforge.net> | |
Mon, 13 Feb 2006 18:19:24 +0000 (18:19 +0000) | ||
committer | dwyip <dwyip@users.sourceforge.net> | |
Mon, 13 Feb 2006 18:19:24 +0000 (18:19 +0000) |
input verification routine). This could have been used to trivially
terminate Inkboard users' sessions
terminate Inkboard users' sessions
src/jabber_whiteboard/message-handler.cpp | patch | blob | history |
index 031ed7348fbf2d6ce37a118565cfc08ae6dc0383..56c6972de3101c64f714c99a726d6526794bfa4f 100644 (file)
// such a message.
offline = lm_message_node_get_child(root, "x");
if (offline != NULL) {
- if (strcmp(lm_message_node_get_value(offline), "Offline Storage") == 0) {
- return false;
+ gchar const* val = lm_message_node_get_value(offline);
+ if (val != NULL) {
+ if (strcmp(val, "Offline Storage") == 0) {
+ return false;
+ }
}
}
+
// 4. If this is a regular chat message...
msubtype = lm_message_get_sub_type(message);