From cf7256e228782b533112473ff6977a72528e793a Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 17 Nov 2010 13:38:00 +0100 Subject: [PATCH] Fix safeStrCpy The test for when to terminate a non-fiting string was one off, and the debug message was written stdoutin stead of debugFP. --- backend.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend.c b/backend.c index 0af00ea..6e544c0 100644 --- a/backend.c +++ b/backend.c @@ -318,11 +318,11 @@ safeStrCpy( char *dst, const char *src, size_t count ) assert( count > 0 ); for(i=0; i