- Timestamp:
- Jun 5, 2007 10:58:32 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r1311 r1341 1066 1066 status = pjsip_pres_initiate(buddy->sub, -1, &tdata); 1067 1067 if (status != PJ_SUCCESS) { 1068 pjsip_pres_terminate(buddy->sub, PJ_FALSE); 1068 if (buddy->sub) { 1069 pjsip_pres_terminate(buddy->sub, PJ_FALSE); 1070 } 1069 1071 buddy->sub = NULL; 1070 1072 pjsua_perror(THIS_FILE, "Unable to create initial SUBSCRIBE", … … 1077 1079 status = pjsip_pres_send_request(buddy->sub, tdata); 1078 1080 if (status != PJ_SUCCESS) { 1079 pjsip_pres_terminate(buddy->sub, PJ_FALSE); 1081 if (buddy->sub) { 1082 pjsip_pres_terminate(buddy->sub, PJ_FALSE); 1083 } 1080 1084 buddy->sub = NULL; 1081 1085 pjsua_perror(THIS_FILE, "Unable to send initial SUBSCRIBE",
Note: See TracChangeset
for help on using the changeset viewer.