Update of /cvsroot/gaim/gaim/src/protocols/oscar
In directory usw-pr-cvs1:/tmp/cvs-serv26943/src/protocols/oscar
Modified Files:
oscar.c
Log Message:
I gotta stop making mistakes like this.
Index: oscar.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/oscar/oscar.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- oscar.c 5 Mar 2002 17:16:51 -0000 1.107
+++ oscar.c 5 Mar 2002 17:31:06 -0000 1.108
@@ -2428,8 +2428,12 @@
struct direct_im *dim = find_direct_im(odata, name);
int ret = 0;
if (dim) {
- if (dim->connected) /* If we're not connected yet, send through server */
- return aim_send_im_direct(odata->sess, dim->conn, message);
+ if (dim->connected) { /* If we're not connected yet, send through server */
+ ret = aim_send_im_direct(odata->sess, dim->conn, message);
+ if (ret == 0)
+ return 1;
+ else return ret;
+ }
debug_printf("Direct IM pending, but not connected; sending through server\n");
}
if (imflags & IM_FLAG_AWAY) {
|