Changeset 350
- Timestamp:
- 07/27/10 07:14:23 (6 weeks ago)
- Location:
- Mulberry/branches/v4.1d1/Sources_Common/Plugins/Authentication
- Files:
-
- 2 modified
-
CAuthPlugin.cp (modified) (2 diffs)
-
CAuthPlugin.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/branches/v4.1d1/Sources_Common/Plugins/Authentication/CAuthPlugin.cp
r216 r350 127 127 bool CAuthPlugin::DoAuthentication(const CAuthenticator* acct_auth, 128 128 CINETAccount::EINETServerType type, const char* type_string, 129 CTCPStream& stream, CLog& log, char* buffer, size_t buflen )129 CTCPStream& stream, CLog& log, char* buffer, size_t buflen, cdstring& capabilities) 130 130 { 131 131 bool result = true; … … 312 312 case CINETAccount::eIMSP: 313 313 // Check for unsolicited 314 if ((buffer[0] == '*') && (buffer[1] == ' ')) 314 if (::strncmp(buffer, "* CAPABILITY", 12) == 0) 315 { 316 capabilities = buffer; 317 break; 318 } 319 else if ((buffer[0] == '*') && (buffer[1] == ' ')) 315 320 // Keep going and get another lines 316 321 break; -
Mulberry/branches/v4.1d1/Sources_Common/Plugins/Authentication/CAuthPlugin.h
r19 r350 84 84 CLog& log, 85 85 char* buffer, 86 size_t buflen); 86 size_t buflen, 87 cdstring& capabilities); 87 88 88 89 protected: