diff options
author | Lukas Zeller <luz@synthesis.ch> | 2010-10-22 16:08:40 +0200 |
---|---|---|
committer | Lukas Zeller <luz@synthesis.ch> | 2011-01-20 17:18:19 +0100 |
commit | aa27fcb552375db660dbdd2a6e8f9d784d1b804d (patch) | |
tree | 395ee712c0c5b5f9f177b71330a98ced1420f80f | |
parent | 7cd3f1d9e5cb617bf468e574ccb5c1182899330a (diff) |
SyncMLTK: in xltdec error message, dump of hex was ok, but ASCII showed the wrong bytes
-rwxr-xr-x | src/syncml_tk/src/sml/xlt/all/xltdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/syncml_tk/src/sml/xlt/all/xltdec.c b/src/syncml_tk/src/sml/xlt/all/xltdec.c index 33f939d..abf0dca 100755 --- a/src/syncml_tk/src/sml/xlt/all/xltdec.c +++ b/src/syncml_tk/src/sml/xlt/all/xltdec.c @@ -264,6 +264,7 @@ Ret_t show_decode_error(Ret_t aRc, XltDecScannerPtr_t aScanner, char *aRoutineNa *p++ = ' '; } *p=0; + b-=numBytesShow; // rewind SMLERRPRINTFX(DBG_ERROR,(hexshow)); p=hexshow; for (i=0; i<numBytesShow; i++) { @@ -287,7 +288,7 @@ Ret_t show_decode_error(Ret_t aRc, XltDecScannerPtr_t aScanner, char *aRoutineNa return aRc; } // show_decode_error -#endif +#endif // SYDEBUG #ifdef __USE_EXTENSIONS__ |