Changeset 2942 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
- Timestamp:
- Oct 13, 2009 2:01:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r2940 r2942 993 993 994 994 } else { 995 if (param->expiration == -1) {995 if (param->expiration < 1) { 996 996 /* Could happen if server "forgot" to include Expires header 997 997 * in the response. We will not renew, so destroy the pubc. … … 1202 1202 acc->online_status = PJ_FALSE; 1203 1203 send_publish(acc_id, PJ_FALSE); 1204 /* By ticket #364, don't destroy the session yet (let the callback 1205 destroy it) 1204 1206 if (acc->publish_sess) { 1205 1207 pjsip_publishc_destroy(acc->publish_sess); 1206 1208 acc->publish_sess = NULL; 1207 1209 } 1210 */ 1208 1211 acc_cfg->publish_enabled = PJ_FALSE; 1209 1212 }
Note: See TracChangeset
for help on using the changeset viewer.