changeset 26857:f0874c392052

This is supposed to be a precision formatter.
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 02 May 2009 18:05:49 +0000
parents 867e231bffbc
children 19d27ee1c72a
files pidgin/win32/winpidgin.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/win32/winpidgin.c	Sat May 02 04:39:38 2009 +0000
+++ b/pidgin/win32/winpidgin.c	Sat May 02 18:05:49 2009 +0000
@@ -586,7 +586,7 @@
 		return;
 	}
 
-	printf("Trying to handle protocol message:\n'%*s'\n", len, tmp1);
+	printf("Trying to handle protocol message:\n'%.*s'\n", len, tmp1);
 
 	/* MEM_COMMIT initializes the memory to zero,
 	 * so we don't need to worry that our section of tmp1 isn't nul-terminated */