Ignore:
Timestamp:
Apr 8, 2009 6:41:32 PM (15 years ago)
Author:
nanang
Message:

Ticket #762: Replaced stricmp() with pj_ansi_stricmp() for cross platform compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/test/jbuf_test.c

    r2579 r2587  
    5858        sscanf(p+1, "%s %u %u %u", mode_st, &param->init_prefetch,  
    5959               &param->min_prefetch, &param->max_prefetch); 
    60         param->adaptive = (stricmp(mode_st, "adaptive") == 0); 
     60        param->adaptive = (pj_ansi_stricmp(mode_st, "adaptive") == 0); 
    6161 
    6262    } else if (*p == '!') { 
     
    6666 
    6767        sscanf(p+1, "%s %u", cond_st, &cond_val); 
    68         if (stricmp(cond_st, "burst") == 0) 
     68        if (pj_ansi_stricmp(cond_st, "burst") == 0) 
    6969            cond->burst = cond_val; 
    70         else if (stricmp(cond_st, "delay") == 0) 
     70        else if (pj_ansi_stricmp(cond_st, "delay") == 0) 
    7171            cond->delay = cond_val; 
    72         else if (stricmp(cond_st, "discard") == 0) 
     72        else if (pj_ansi_stricmp(cond_st, "discard") == 0) 
    7373            cond->discard = cond_val; 
    74         else if (stricmp(cond_st, "empty") == 0) 
     74        else if (pj_ansi_stricmp(cond_st, "empty") == 0) 
    7575            cond->empty = cond_val; 
    76         else if (stricmp(cond_st, "lost") == 0) 
     76        else if (pj_ansi_stricmp(cond_st, "lost") == 0) 
    7777            cond->lost = cond_val; 
    7878 
Note: See TracChangeset for help on using the changeset viewer.