pidgin: 0a5f6b15: Some whitespace changes to make code fro...

qulogic at pidgin.im qulogic at pidgin.im
Fri Aug 8 02:10:43 EDT 2008


-----------------------------------------------------------------
Revision: 0a5f6b1566c520a6ee25d20d4386cb4f075afe98
Ancestor: da2d345414f88ec3a3f565337a50061b53176a81
Author: qulogic at pidgin.im
Date: 2008-08-07T05:08:44
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/0a5f6b1566c520a6ee25d20d4386cb4f075afe98

Modified files:
        libpurple/protocols/msn/notification.c

ChangeLog: 

Some whitespace changes to make code from that previous commit look better.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/notification.c	abc302fa32130978fe0ed61d640e1dcdd2c6dca5
+++ libpurple/protocols/msn/notification.c	d04af228d355cc0eebcf7bcef9edfb8c2f3cc895
@@ -1304,26 +1304,26 @@ url_cmd(MsnCmdProc *cmdproc, MsnCommand 
 	tmp_timestamp = session->passport_info.mail_timestamp - session->passport_info.sl;
 
 	buf = g_strdup_printf("%s%lu%s",
-			   session->passport_info.mspauth ? session->passport_info.mspauth : "BOGUS",
-			   tmp_timestamp,
-			   purple_connection_get_password(gc));
+	                      session->passport_info.mspauth ? session->passport_info.mspauth : "BOGUS",
+	                      tmp_timestamp,
+	                      purple_connection_get_password(gc));
 
 	cipher = purple_cipher_context_new_by_name("md5", NULL);
 	purple_cipher_context_append(cipher, (const guchar *)buf, strlen(buf));
 	purple_cipher_context_digest_to_str(cipher, sizeof(creds), creds, NULL);
 	purple_cipher_context_destroy(cipher);
-
 	g_free(buf);
 
 	g_free(session->passport_info.mail_url);
-	session->passport_info.mail_url = g_strdup_printf("%s&auth=%s&creds=%s&sl=%ld&username=%s&mode=ttl&sid=%s&id=2&rru=%s&svc=mail&js=yes",
-                                                        url,
-                                                        session->passport_info.mspauth ? purple_url_encode(session->passport_info.mspauth) : "BOGUS",
-                                                        creds,
-                                                        tmp_timestamp,
-                                                        msn_user_get_passport(session->user),
-                                                        session->passport_info.sid,
-                                                        rru);
+	session->passport_info.mail_url =
+		g_strdup_printf("%s&auth=%s&creds=%s&sl=%ld&username=%s&mode=ttl&sid=%s&id=2&rru=%s&svc=mail&js=yes",
+		                url,
+		                session->passport_info.mspauth ? purple_url_encode(session->passport_info.mspauth) : "BOGUS",
+		                creds,
+		                tmp_timestamp,
+		                msn_user_get_passport(session->user),
+		                session->passport_info.sid,
+		                rru);
 
 	/* The user wants to check his or her email */
 	if (cmd->trans && cmd->trans->data)


More information about the Commits mailing list