diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-03-23 18:04:15 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-03-23 18:04:15 +0000 |
commit | adbbd72dbe1e91f17c9d6051271a5814108cbac5 (patch) | |
tree | 82ca73500c23f8e85d1f33f43330942e32b4d8a0 /pjsip-apps/src/pjsua/main.c | |
parent | 14824da601ff1b606a4bb0d891adb98940f60fce (diff) |
Fixed misc warnings/errors in Solaris build
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@355 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps/src/pjsua/main.c')
-rw-r--r-- | pjsip-apps/src/pjsua/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pjsip-apps/src/pjsua/main.c b/pjsip-apps/src/pjsua/main.c index 3e6339db..3c7e2fdd 100644 --- a/pjsip-apps/src/pjsua/main.c +++ b/pjsip-apps/src/pjsua/main.c @@ -317,7 +317,7 @@ static void ui_input_url(const char *title, char *buf, int len, len = strlen(buf); /* Left trim */ - while (isspace(*buf)) { + while (pj_isspace(*buf)) { ++buf; --len; } @@ -329,7 +329,7 @@ static void ui_input_url(const char *title, char *buf, int len, if (len == 0 || buf[0]=='q') return; - if (isdigit(*buf) || *buf=='-') { + if (pj_isdigit(*buf) || *buf=='-') { int i; @@ -339,7 +339,7 @@ static void ui_input_url(const char *title, char *buf, int len, i = 0; for (; i<len; ++i) { - if (!isdigit(buf[i])) { + if (!pj_isdigit(buf[i])) { puts("Invalid input"); return; } |