Update of /cvsroot/gaim/gaim/src/protocols/yahoo
In directory usw-pr-cvs1:/tmp/cvs-serv22403
Modified Files:
outgoing.c
Log Message:
this should fix many things.
Index: outgoing.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/outgoing.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- outgoing.c 2001/07/31 01:00:38 1.1
+++ outgoing.c 2001/10/09 01:38:16 1.2
@@ -49,7 +49,7 @@
struct yahoo_packet *pkt;
int ret;
- if (!session || !conn)
+ if (!session || !session->login || !conn || !active_id)
return 0;
if (!(pkt = g_new0(struct yahoo_packet, 1)))
@@ -149,6 +149,9 @@
struct yahoo_conn *conn;
if (!session)
+ return 0;
+
+ if (!session->login)
return 0;
if (!(conn = yahoo_getconn_type(session, YAHOO_CONN_TYPE_MAIN)))
|