diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_xml.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_xml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_xml.cpp b/protocols/JabberG/src/jabber_xml.cpp index 89dc4f9838..7ff95e1948 100644 --- a/protocols/JabberG/src/jabber_xml.cpp +++ b/protocols/JabberG/src/jabber_xml.cpp @@ -270,7 +270,7 @@ LPCTSTR __fastcall xmlGetName(HXML xml) LPCTSTR __fastcall xmlGetText(HXML xml)
{
- return xi.getText(xml);
+ return (xml) ? xi.getText(xml) : NULL;
}
/////////////////////////////////////////////////////////////////////////////////////////
|