diff options
author | jsorg71 <jsorg71> | 2007-09-23 07:52:17 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2007-09-23 07:52:17 +0000 |
commit | 065c9b6a244656a36f8f66ae8144fdd84b13f6b9 (patch) | |
tree | 2bcc94e9991034c3b524b79f41c8eb98b2c550a1 | |
parent | d04895c5d0a2c5119fb42e9a0cdd8bb1d18475c9 (diff) | |
download | xrdp-proprietary-065c9b6a244656a36f8f66ae8144fdd84b13f6b9.tar.gz xrdp-proprietary-065c9b6a244656a36f8f66ae8144fdd84b13f6b9.zip |
return value var
-rw-r--r-- | common/os_calls.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/os_calls.c b/common/os_calls.c index ac29c153..cb79c7d3 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -1079,9 +1079,11 @@ int APP_CC g_mbstowcs(twchar* dest, const char* src, int n) { wchar_t* ldest; + int rv; ldest = (wchar_t*)dest; - return mbstowcs(ldest, src, n); + rv = mbstowcs(ldest, src, n); + return rv; } /*****************************************************************************/ @@ -1089,9 +1091,11 @@ int APP_CC g_wcstombs(char* dest, const twchar* src, int n) { const wchar_t* lsrc; + int rv; lsrc = (const wchar_t*)src; - return wcstombs(dest, lsrc, n); + rv = wcstombs(dest, lsrc, n); + return rv; } /*****************************************************************************/ |