Ignore:
Timestamp:
May 1, 2007 6:36:15 AM (18 years ago)
Author:
bennylp
Message:

Fixed build error on Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/test-pjsip/msg_test.c

    r1228 r1236  
    971971} 
    972972 
    973 /* "application/*, text/plain\r\n" */ 
     973/* "application/ *, text/plain\r\n" */ 
    974974static int hdr_test_accept1(pjsip_hdr *h) 
    975975{ 
     
    991991} 
    992992 
    993 /* "application/*;p1=v1, text/plain\r\n" */ 
     993/* "application/ *;p1=v1, text/plain\r\n" */ 
    994994static int hdr_test_accept2(pjsip_hdr *h) 
    995995{ 
     
    11171117#define NAME_ADDR           "<" ADDR_SPEC ">" 
    11181118 */ 
    1119 static int nameaddr_test(pjsip_uri *uri) 
    1120 { 
    1121     pjsip_sip_uri *sip_uri = (pjsip_sip_uri *)pjsip_uri_get_uri(uri); 
     1119static int nameaddr_test(void *uri) 
     1120{ 
     1121    pjsip_sip_uri *sip_uri=(pjsip_sip_uri *)pjsip_uri_get_uri((pjsip_uri*)uri); 
    11221122    pjsip_param *param; 
    11231123    int rc; 
     
    13561356        return -2210; 
    13571357 
    1358     rc = nameaddr_test((pjsip_uri*)&hdr->name_addr); 
     1358    rc = nameaddr_test(&hdr->name_addr); 
    13591359    if (rc != 0) 
    13601360        return rc; 
     
    14711471        } 
    14721472 
    1473 #if 0 
     1473#if 1 
    14741474        /* Parse with hshortname, if present */ 
    14751475        if (test->hshort_name) { 
Note: See TracChangeset for help on using the changeset viewer.