From 4e5a23ef0ce4c32a9e851047d00a1fed3cfedd91 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 2 Jan 2007 22:00:47 +0000 Subject: [PATCH] printf format fix git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@809 9efc2488-bf62-4759-914b-345cdb29e865 --- src/utils/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.11.0