Changeset 1228 for pjproject/trunk/pjsip/src/test-pjsip/msg_test.c
- Timestamp:
- Apr 29, 2007 6:07:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test-pjsip/msg_test.c
r1221 r1228 803 803 #define PARAM_CHAR "[]/:&+$" 804 804 #define SIMPLE_ADDR_SPEC "sip:host" 805 #define ADDR_SPEC SIMPLE_ADDR_SPEC ";" PARAM_CHAR "=" PARAM_CHAR805 #define ADDR_SPEC SIMPLE_ADDR_SPEC ";"PARAM_CHAR"="PARAM_CHAR ";p1=\";\"" 806 806 #define NAME_ADDR "<" ADDR_SPEC ">" 807 807 … … 1114 1114 #define PARAM_CHAR "[]/:&+$" 1115 1115 #define SIMPLE_ADDR_SPEC "sip:host" 1116 #define ADDR_SPEC SIMPLE_ADDR_SPEC ";" PARAM_CHAR "=" PARAM_CHAR1116 #define ADDR_SPEC SIMPLE_ADDR_SPEC ";"PARAM_CHAR"="PARAM_CHAR ";p1=\";\"" 1117 1117 #define NAME_ADDR "<" ADDR_SPEC ">" 1118 1118 */ … … 1130 1130 return rc; 1131 1131 1132 if (pj_list_size(&sip_uri->other_param) != 1)1132 if (pj_list_size(&sip_uri->other_param) != 2) 1133 1133 return -940; 1134 1134 … … 1139 1139 1140 1140 if (pj_strcmp2(¶m->value, PARAM_CHAR)) 1141 return -943; 1142 1143 param = param->next; 1144 if (pj_strcmp2(¶m->name, "p1")) 1145 return -942; 1146 if (pj_strcmp2(¶m->value, "\";\"")) 1141 1147 return -943; 1142 1148
Note: See TracChangeset
for help on using the changeset viewer.