diff options
Diffstat (limited to 'Swiften/JID/JID.cpp')
-rw-r--r-- | Swiften/JID/JID.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/JID/JID.cpp b/Swiften/JID/JID.cpp index 0822595..f195f6f 100644 --- a/Swiften/JID/JID.cpp +++ b/Swiften/JID/JID.cpp @@ -112,6 +112,7 @@ struct EscapedCharacterFormatter { #endif JID::JID(const char* jid) : valid_(true) { + assert(jid); initializeFromString(std::string(jid)); } |