Changeset 2103
- Timestamp:
- Jul 4, 2008 11:49:44 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/mix.c
r2039 r2103 70 70 PJ_LOG(3,(THIS_FILE, "%s error: %s", title, errmsg)); 71 71 return 1; 72 } 73 74 static void usage(void) 75 { 76 puts(desc); 72 77 } 73 78 … … 101 106 if (clock_rate < 1000) { 102 107 puts("Error: invalid clock rate"); 108 usage(); 103 109 return -1; 104 110 } … … 113 119 if (pj_optind == argc) { 114 120 puts("Error: no WAV output is specified"); 121 usage(); 115 122 return 1; 116 123 } -
pjproject/trunk/pjsip/include/pjsip/sip_uri.h
r2039 r2103 256 256 * @return the URI. 257 257 */ 258 PJ_INLINE(void*) pjsip_uri_get_uri( void *uri)259 { 260 return (*((pjsip_uri*)uri)->vptr->p_get_uri)( uri);258 PJ_INLINE(void*) pjsip_uri_get_uri(const void *uri) 259 { 260 return (*((pjsip_uri*)uri)->vptr->p_get_uri)((void*)uri); 261 261 } 262 262 -
pjproject/trunk/pjsip/src/pjsip/sip_util.c
r2039 r2103 763 763 { 764 764 const pjsip_sip_uri *url = (const pjsip_sip_uri*) 765 pjsip_uri_get_uri(( void*)topmost_route_uri);765 pjsip_uri_get_uri((const void*)topmost_route_uri); 766 766 has_lr_param = url->lr_param; 767 767 } else {
Note: See TracChangeset
for help on using the changeset viewer.