- Timestamp:
- Mar 23, 2009 1:06:24 PM (16 years ago)
- Location:
- pjproject/branches/1.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.0
- Property svn:mergeinfo changed
/pjproject/trunk merged: 2435
- Property svn:mergeinfo changed
-
pjproject/branches/1.0/pjsip/src/pjsip/sip_util.c
r2394 r2532 855 855 PJ_ASSERT_RETURN(dest_info != NULL, PJ_EINVAL); 856 856 857 /* Assert if the request contains strict route and strict 858 * route processing has been applied before. We need to 859 * restore the strict route with pjsip_restore_strict_route_set() 860 * before we can call this function again, otherwise strict 861 * route will be swapped twice! 857 /* If the request contains strict route, check that the strict route 858 * has been restored to its original values before processing the 859 * route set. The strict route is restored to the original values 860 * with pjsip_restore_strict_route_set(). If caller did not restore 861 * the strict route before calling this function, we need to call it 862 * here, or otherwise the strict-route and Request-URI will be swapped 863 * twice! 862 864 */ 865 if (tdata->saved_strict_route != NULL) { 866 pjsip_restore_strict_route_set(tdata); 867 } 863 868 PJ_ASSERT_RETURN(tdata->saved_strict_route==NULL, PJ_EBUG); 864 869
Note: See TracChangeset
for help on using the changeset viewer.