summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber_thread.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-26 16:50:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-26 16:50:14 +0000
commitc992cb2fdc11f1cac4bc5cbce26e8e2bb3b57da0 (patch)
tree697bdbf38a8a1f6b828a8bfbd08a478e19a82c6b /protocols/JabberG/jabber_thread.cpp
parentf616294363c642d138f9dc0ef6eceae639e2434c (diff)
- microkernel addded;
- version bumped to 0.92.2 git-svn-id: http://svn.miranda-ng.org/main/trunk@641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/jabber_thread.cpp')
-rw-r--r--protocols/JabberG/jabber_thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/jabber_thread.cpp b/protocols/JabberG/jabber_thread.cpp
index 5635c10a57..4bd558b048 100644
--- a/protocols/JabberG/jabber_thread.cpp
+++ b/protocols/JabberG/jabber_thread.cpp
@@ -289,7 +289,7 @@ LBL_Exit:
JFreeVariant( &dbv );
}
- if ( *rtrim(info->username) == '\0' ) {
+ if ( *trtrim(info->username) == '\0' ) {
DWORD dwSize = SIZEOF( info->username );
if ( GetUserName( info->username, &dwSize ))
JSetStringT( NULL, "LoginName", info->username );
@@ -297,7 +297,7 @@ LBL_Exit:
info->username[0] = 0;
}
- if ( *rtrim(info->username) == '\0' ) {
+ if ( *trtrim(info->username) == '\0' ) {
Log( "Thread ended, login name is not configured" );
JSendBroadcast( NULL, ACKTYPE_LOGIN, ACKRESULT_FAILED, NULL, LOGINERR_BADUSERID );
LBL_FatalError: