diff options
Diffstat (limited to 'pjlib/src/pj/os_error_symbian.cpp')
-rw-r--r-- | pjlib/src/pj/os_error_symbian.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/src/pj/os_error_symbian.cpp b/pjlib/src/pj/os_error_symbian.cpp index 4af9b30e..d04907fe 100644 --- a/pjlib/src/pj/os_error_symbian.cpp +++ b/pjlib/src/pj/os_error_symbian.cpp @@ -162,7 +162,7 @@ PJ_DEF(int) platform_strerror( pj_os_err_type os_errcode, } if (!len) { - len = pj_ansi_snprintf( buf, bufsize, "Symbian native error %d", + len = pj_ansi_snprintf( buf, bufsize-1, "Symbian native error %d", os_errcode); buf[len] = '\0'; } |