# HG changeset patch # User Eric Warmenhoven # Date 974089781 0 # Node ID a930439f29b1562d745d48473f4475fd666ccec9 # Parent 3d6ab4f1fa556715b34a58f30fa7fe9af798f737 [gaim-migrate @ 1102] fun fun committer: Tailor Script diff -r 3d6ab4f1fa55 -r a930439f29b1 src/Makefile.am --- a/src/Makefile.am Mon Nov 13 03:57:40 2000 +0000 +++ b/src/Makefile.am Mon Nov 13 04:29:41 2000 +0000 @@ -15,7 +15,6 @@ html.c \ idle.c \ multi.c \ - network.c \ oscar.c \ perl.c \ plugins.c \ @@ -47,7 +46,6 @@ html.c \ idle.c \ multi.c \ - network.c \ oscar.c \ perl.c \ plugins.c \ diff -r 3d6ab4f1fa55 -r a930439f29b1 src/buddy.c --- a/src/buddy.c Mon Nov 13 03:57:40 2000 +0000 +++ b/src/buddy.c Mon Nov 13 04:29:41 2000 +0000 @@ -923,7 +923,7 @@ g->members = NULL; - if (!blist) return; + if (!blist) return g; build_edit_tree(); diff -r 3d6ab4f1fa55 -r a930439f29b1 src/html.c --- a/src/html.c Mon Nov 13 03:57:40 2000 +0000 +++ b/src/html.c Mon Nov 13 04:29:41 2000 +0000 @@ -37,6 +37,7 @@ #include #include #include +#include "proxy.h" gchar * strip_html(gchar * text) { @@ -108,7 +109,6 @@ int len; int read_rv; int datalen = 0; - struct in_addr *host; char buf[256]; char data; int startsaving = 0; @@ -118,10 +118,10 @@ if (user) { if ((sock = proxy_connect(website.address, website.port, user->proto_opt[2], - user->proto_opt[3], atoi(user->proto_opt[4]))) < 0) + atoi(user->proto_opt[3]), atoi(user->proto_opt[4]))) < 0) return g_strdup(_("g003: Error opening connection.\n")); } else { - if ((sock = proxy_connect(website.address, website.port, NULL, NULL, -1)) < 0) + if ((sock = proxy_connect(website.address, website.port, NULL, 0, -1)) < 0) return g_strdup(_("g003: Error opening connection.\n")); } diff -r 3d6ab4f1fa55 -r a930439f29b1 src/network.c --- a/src/network.c Mon Nov 13 03:57:40 2000 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -/* - * gaim - * - * Copyright (C) 1998-1999, Mark Spencer - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - */ diff -r 3d6ab4f1fa55 -r a930439f29b1 src/oscar.c --- a/src/oscar.c Mon Nov 13 03:57:40 2000 +0000 +++ b/src/oscar.c Mon Nov 13 04:29:41 2000 +0000 @@ -722,7 +722,7 @@ dim = find_direct_im(od, d->sn); if (dim) { cancel_direct_im(w, d); /* 40 */ - return; + return TRUE; } dim = g_new0(struct direct_im, 1); dim->gc = d->gc; @@ -731,7 +731,7 @@ if ((dim->conn = aim_directim_connect(od->sess, od->conn, d->priv)) == NULL) { g_free(dim); cancel_direct_im(w, d); - return; + return TRUE; } if (!(dim->cnv = find_conversation(d->sn))) dim->cnv = new_conversation(d->sn); @@ -765,8 +765,6 @@ static int accept_getfile(gpointer w, struct ask_getfile *g) { struct gaim_connection *gc = g->gc; - struct oscar_data *od = (struct oscar_data *)gc->proto_data; - struct aim_conn_t *newconn; /* if ((newconn = aim_accepttransfer(od->sess, od->conn, g->sn, g->cookie, g->ip, od->sess->oft.listing, AIM_CAPS_GETFILE)) == NULL) { @@ -831,7 +829,6 @@ } else if (rendtype & AIM_CAPS_SENDFILE) { } else if (rendtype & AIM_CAPS_GETFILE) { char *ip, *cookie; - struct aim_conn_t *newconn; struct ask_getfile *g = g_new0(struct ask_getfile, 1); char buf[256]; diff -r 3d6ab4f1fa55 -r a930439f29b1 src/rvous.c --- a/src/rvous.c Mon Nov 13 03:57:40 2000 +0000 +++ b/src/rvous.c Mon Nov 13 04:29:41 2000 +0000 @@ -37,6 +37,7 @@ #include #include #include +#include "proxy.h" #include "gaim.h" static void do_send_file(GtkWidget *, struct file_transfer *); @@ -236,7 +237,7 @@ /* XXX is ft->port in host order or network order? */ - ft->fd = proxy_connect(ft->ip, ft->port, NULL, NULL, -1); + ft->fd = proxy_connect(ft->ip, ft->port, NULL, 0, -1); if (ft->fd <= -1) { fclose(ft->f); @@ -515,7 +516,7 @@ /* XXX is ft->port in host order or network order? */ - ft->fd = proxy_connect(ft->ip, ft->port, NULL, NULL, -1); + ft->fd = proxy_connect(ft->ip, ft->port, NULL, 0, -1); if (ft->fd <= -1) { free_ft(ft);