From 6852c51b705e70d85f6fd3317e8412300c446ce4 Mon Sep 17 00:00:00 2001 From: ehouse Date: Tue, 9 Nov 2004 02:03:28 +0000 Subject: [PATCH] Don't use Palm APIs in common code! --- common/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/server.c b/common/server.c index 27736d872..6f8fd291a 100644 --- a/common/server.c +++ b/common/server.c @@ -2284,7 +2284,7 @@ server_formatDictCounts( ServerCtxt* server, XWStreamCtxt* stream, dict = model_getDictionary( server->vol.model ); dname = dict_getName( dict ); - StrPrintF( buf, fmt, dname ); + XP_SNPRINTF( buf, sizeof(buf), fmt, dname ); stream_putBytes( stream, buf, XP_STRLEN(buf) ); nChars = dict_numTileFaces( dict );