From: <tb...@us...> - 2006-04-18 07:46:06
|
Revision: 16058 Author: tbutter Date: 2006-04-18 00:45:55 -0700 (Tue, 18 Apr 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16058&view=rev Log Message: ----------- fixed CID 106 Modified Paths: -------------- trunk/src/protocols/simple/simple.c Modified: trunk/src/protocols/simple/simple.c =================================================================== --- trunk/src/protocols/simple/simple.c 2006-04-18 07:35:05 UTC (rev 16057) +++ trunk/src/protocols/simple/simple.c 2006-04-18 07:45:55 UTC (rev 16058) @@ -379,11 +379,12 @@ g_strfreev(parts); gaim_debug(GAIM_DEBUG_MISC, "simple", "nonce: %s realm: %s ", auth->nonce ? auth->nonce : "(null)", auth->realm ? auth->realm : "(null)"); + if(auth->realm) { + auth->digest_session_key = gaim_cipher_http_digest_calculate_session_key( + "md5", authuser, auth->realm, sip->password, auth->nonce, NULL); - auth->digest_session_key = gaim_cipher_http_digest_calculate_session_key( - "md5", authuser, auth->realm, sip->password, auth->nonce, NULL); - - auth->nc = 1; + auth->nc = 1; + } } static void simple_canwrite_cb(gpointer data, gint source, GaimInputCondition cond) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |