From 5ab6ee7162fa948d51c9b7b90b35b09a040188b5 Mon Sep 17 00:00:00 2001 From: frankmorgner Date: Fri, 30 Sep 2011 15:42:11 +0000 Subject: [PATCH] fixed error on using stdout as debug log git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@542 96b47cad-a561-4643-ad3b-153ac7d7599c --- npa/src/scutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npa/src/scutil.c b/npa/src/scutil.c index cd60acd..a09e2a7 100644 --- a/npa/src/scutil.c +++ b/npa/src/scutil.c @@ -94,7 +94,7 @@ void _bin_log(sc_context_t *ctx, int type, const char *file, int line, "\n%s (%u byte%s):\n%s", label, len, len==1?"":"s", buf); } else { - fprintf(f, "%s (%u byte%s):\n%s", + fprintf(f, "%s (%u byte%s):\n%s\n", label, len, len==1?"":"s", sc_dump_hex(data, len)); } }