[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/icq icq.c,1.15,1.16
From: |
Philip S Tellis <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/icq icq.c,1.15,1.16 |
Date: |
Thu, 06 Feb 2003 05:32:32 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/icq
In directory subversions:/tmp/cvs-serv4142/modules/icq
Modified Files:
icq.c
Log Message:
delay modifying ref_count until the module is actually in use
Index: icq.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/icq/icq.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- icq.c 6 Feb 2003 09:15:37 -0000 1.15
+++ icq.c 6 Feb 2003 10:32:25 -0000 1.16
@@ -370,6 +370,8 @@
icq_user_account->connected = 1;
if(icq_user_account->status_menu)
eb_set_active_menu_status(icq_user_account->status_menu,
ICQ_ONLINE);
+
+ ref_count++;
}
#define SRV_FORCE_DISCONNECT 0x0028
@@ -389,6 +391,8 @@
icq_user_account->connected = 0;
if(icq_user_account->status_menu)
eb_set_active_menu_status(icq_user_account->status_menu,
ICQ_OFFLINE);
+
+ ref_count--;
}
static void EventChatDisconnect(void * data )
@@ -997,7 +1001,6 @@
AddTimers(ila);
eb_debug(DBG_ICQ, "n/n %d %s /n/n\n", UIN, passwd);
- ref_count++;
ICQ_Change_Status(STATUS_ONLINE);
//account->connected=1;
@@ -1099,7 +1102,6 @@
iad->status = STATUS_OFFLINE;
}
}
- ref_count--;
}
static void icq_send_im( eb_local_account * account_from,
- [Ayttm-commits] CVS: ayttm/modules/icq icq.c,1.15,1.16,
Philip S Tellis <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.279,1.280 configure.in,1.275,1.276
- Next by Date:
Re: [Ayttm-commits] CVS: ayttm/modules/icq icq.c,1.15,1.16
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.279,1.280 configure.in,1.275,1.276
- Next by thread:
Re: [Ayttm-commits] CVS: ayttm/modules/icq icq.c,1.15,1.16
- Index(es):