- Timestamp:
- Jan 29, 2009 7:13:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_util.c
r2421 r2435 860 860 PJ_ASSERT_RETURN(dest_info != NULL, PJ_EINVAL); 861 861 862 /* Assert if the request contains strict route and strict 863 * route processing has been applied before. We need to 864 * restore the strict route with pjsip_restore_strict_route_set() 865 * before we can call this function again, otherwise strict 866 * route will be swapped twice! 862 /* If the request contains strict route, check that the strict route 863 * has been restored to its original values before processing the 864 * route set. The strict route is restored to the original values 865 * with pjsip_restore_strict_route_set(). If caller did not restore 866 * the strict route before calling this function, we need to call it 867 * here, or otherwise the strict-route and Request-URI will be swapped 868 * twice! 867 869 */ 870 if (tdata->saved_strict_route != NULL) { 871 pjsip_restore_strict_route_set(tdata); 872 } 868 873 PJ_ASSERT_RETURN(tdata->saved_strict_route==NULL, PJ_EBUG); 869 874
Note: See TracChangeset
for help on using the changeset viewer.