# HG changeset patch # User Sadrul Habib Chowdhury # Date 1183575520 0 # Node ID 3e4ee49396adbde3f4d172f31967e94616578356 # Parent f5a17e7e4bfa2c95829aba6f44f0f146041629a2# Parent 5bc6c4097a771ee9643c3727bc592def0d28efa2 merge of 'cc6c96ed91fb789ae12faf87e23361996db6d2f0' and 'f6786fa80b5701a5f44434e550c174e54f3114c4' diff -r f5a17e7e4bfa -r 3e4ee49396ad libpurple/internal.h --- a/libpurple/internal.h Wed Jul 04 18:56:17 2007 +0000 +++ b/libpurple/internal.h Wed Jul 04 18:58:40 2007 +0000 @@ -93,8 +93,9 @@ #include #endif +#include + #ifdef PURPLE_PLUGINS -# include # ifndef _WIN32 # include # endif diff -r f5a17e7e4bfa -r 3e4ee49396ad libpurple/plugins/autoaccept.c --- a/libpurple/plugins/autoaccept.c Wed Jul 04 18:56:17 2007 +0000 +++ b/libpurple/plugins/autoaccept.c Wed Jul 04 18:58:40 2007 +0000 @@ -178,7 +178,8 @@ { PurpleMenuAction *action; - if (!PURPLE_BLIST_NODE_IS_BUDDY(node) && !PURPLE_BLIST_NODE_IS_CONTACT(node)) + if (!PURPLE_BLIST_NODE_IS_BUDDY(node) && !PURPLE_BLIST_NODE_IS_CONTACT(node) && + !(purple_blist_node_get_flags(node) & PURPLE_BLIST_NODE_FLAG_NO_SAVE)) return; action = purple_menu_action_new(_("Autoaccept File Transfers..."), diff -r f5a17e7e4bfa -r 3e4ee49396ad libpurple/protocols/msn/directconn.c --- a/libpurple/protocols/msn/directconn.c Wed Jul 04 18:56:17 2007 +0000 +++ b/libpurple/protocols/msn/directconn.c Wed Jul 04 18:58:40 2007 +0000 @@ -370,7 +370,7 @@ else { struct sockaddr_in client_addr; - unsigned int client; + socklen_t client; fd = accept (source, (struct sockaddr *)&client_addr, &client); }