diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2009-04-08 18:41:32 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2009-04-08 18:41:32 +0000 |
commit | 9053655bfd453951291fc84fdc99ea254c028611 (patch) | |
tree | 32957979c9f37e4bab041c1d0c06a0899fdbba41 /pjmedia/src/test/jbuf_test.c | |
parent | cf096ff79db5c4eba05a67e1dc2d5aef5fc00f35 (diff) |
Ticket #762: Replaced stricmp() with pj_ansi_stricmp() for cross platform compatibility.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2587 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/test/jbuf_test.c')
-rw-r--r-- | pjmedia/src/test/jbuf_test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pjmedia/src/test/jbuf_test.c b/pjmedia/src/test/jbuf_test.c index eac92db5..3e896483 100644 --- a/pjmedia/src/test/jbuf_test.c +++ b/pjmedia/src/test/jbuf_test.c @@ -57,7 +57,7 @@ static pj_bool_t parse_test_headers(char *line, test_param_t *param, sscanf(p+1, "%s %u %u %u", mode_st, ¶m->init_prefetch, ¶m->min_prefetch, ¶m->max_prefetch); - param->adaptive = (stricmp(mode_st, "adaptive") == 0); + param->adaptive = (pj_ansi_stricmp(mode_st, "adaptive") == 0); } else if (*p == '!') { /* Success condition. */ @@ -65,15 +65,15 @@ static pj_bool_t parse_test_headers(char *line, test_param_t *param, unsigned cond_val; sscanf(p+1, "%s %u", cond_st, &cond_val); - if (stricmp(cond_st, "burst") == 0) + if (pj_ansi_stricmp(cond_st, "burst") == 0) cond->burst = cond_val; - else if (stricmp(cond_st, "delay") == 0) + else if (pj_ansi_stricmp(cond_st, "delay") == 0) cond->delay = cond_val; - else if (stricmp(cond_st, "discard") == 0) + else if (pj_ansi_stricmp(cond_st, "discard") == 0) cond->discard = cond_val; - else if (stricmp(cond_st, "empty") == 0) + else if (pj_ansi_stricmp(cond_st, "empty") == 0) cond->empty = cond_val; - else if (stricmp(cond_st, "lost") == 0) + else if (pj_ansi_stricmp(cond_st, "lost") == 0) cond->lost = cond_val; } else if (*p == '=') { |