From: miker Date: Tue, 2 Jan 2007 22:00:47 +0000 (+0000) Subject: printf format fix X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4e5a23ef0ce4c32a9e851047d00a1fed3cfedd91;p=opensrf%2Fbjwebb.git printf format fix git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@809 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/utils/utils.c b/src/utils/utils.c index 56b8e4e..a226cab 100644 --- a/src/utils/utils.c +++ b/src/utils/utils.c @@ -335,8 +335,8 @@ char* uescape( const char* string, int size, int full_escape ) { break; default: - if( c < 32 ) buffer_fadd(buf, "\\u%0.4x", c); - else OSRF_BUFFER_ADD_CHAR(buf, c); + if( c < 32 ) buffer_fadd(buf, "\\u%04x", c); + else OSRF_BUFFER_ADD_CHAR(buf, c); } } else {