diff options
author | Liong Sauw Ming <ming@teluu.com> | 2010-08-09 06:40:38 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2010-08-09 06:40:38 +0000 |
commit | ff5f0ce6bf18c024c8fea500044dc68cc9dd5efe (patch) | |
tree | 5f4a300973dbb89923d1671d1ed5c697362e869d /pjsip-apps | |
parent | 4ac65d2a1c4aab3c58643f4d6dec562f16290356 (diff) |
Misc fix (re #1068): Use default setting for path length (PJ_MAXPATH) on iPhone to accommodate long path name when running on the simulator.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3258 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m | 2 | ||||
-rw-r--r-- | pjsip-apps/src/pjsystest/systest.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m b/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m index 7c1b4c7a..8a1b2f1a 100644 --- a/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m +++ b/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m @@ -25,7 +25,7 @@ extern pj_log_func *log_cb; #define DEBUGGER_PRINT 1 /* Whether we should show pj log messages in the text area */ #define SHOW_LOG 1 -#define PATH_LENGTH 128 +#define PATH_LENGTH PJ_MAXPATH extern pj_bool_t app_restart; diff --git a/pjsip-apps/src/pjsystest/systest.h b/pjsip-apps/src/pjsystest/systest.h index 4732a553..25444f21 100644 --- a/pjsip-apps/src/pjsystest/systest.h +++ b/pjsip-apps/src/pjsystest/systest.h @@ -91,7 +91,7 @@ typedef struct test_item_t #define SYSTEST_MAX_TEST 32 extern unsigned test_item_count; extern test_item_t test_items[SYSTEST_MAX_TEST]; -#define PATH_LENGTH 128 +#define PATH_LENGTH PJ_MAXPATH extern char doc_path[PATH_LENGTH]; extern char res_path[PATH_LENGTH]; |