cpw.nader.asynclogging-3: d620dbe7: Fixed two compiler warnings on linux

morshed.nader at gmail.com morshed.nader at gmail.com
Sat Jan 7 22:01:57 EST 2012


----------------------------------------------------------------------
Revision: d620dbe77b5011dbc39bae7eb347ef4f5c998f43
Parent:   b8f09631115f534572c970cdf5cf43874dd82cd2
Author:   morshed.nader at gmail.com
Date:     01/07/12 13:50:02
Branch:   im.pidgin.cpw.nader.asynclogging-3
URL: http://d.pidgin.im/viewmtn/revision/info/d620dbe77b5011dbc39bae7eb347ef4f5c998f43

Changelog: 

Fixed two compiler warnings on linux

Changes against parent b8f09631115f534572c970cdf5cf43874dd82cd2

  patched  libpurple/commonlog.c

-------------- next part --------------
============================================================
--- libpurple/commonlog.c	9b4dcc5a9ad85ff700c9ee4a6b2f6956a47671cd
+++ libpurple/commonlog.c	636bebfb1f12e5739a23dc430452f1bd6ec73c53
@@ -717,8 +717,6 @@ purple_common_log_read_async(PurpleCommo
 
 	g_return_if_fail(PURPLE_IS_COMMON_LOG(log));
 
-	printf("read_async called\n", socket);
-
 	data = g_new(read_callback_data, 1);
 	data->log = g_object_ref(log);
 	data->cancel = cancellable != NULL ? g_object_ref(cancellable) : NULL;
@@ -940,8 +938,8 @@ log_from_data(const gchar *path, PurpleL
 	} else {
 		gchar *tmp = g_strndup(rest, end - rest);
 		tm.tm_zone = tmp;
-		log = purple_log_new(klass, chat_type, name, account, NULL,
-			stamp, &tm);
+		log = purple_log_new(PURPLE_LOG_CLASS(klass), chat_type, name, account,
+			NULL, stamp, &tm);
 		g_free(tmp);
 	}
 #else


More information about the Commits mailing list