# HG changeset patch # User Daniel Atallah # Date 1241287549 0 # Node ID f0874c3920526fa24d79b9494d091a9537c84bd1 # Parent 867e231bffbc45d7d9f3cdf0870a4db8d3683949 This is supposed to be a precision formatter. diff -r 867e231bffbc -r f0874c392052 pidgin/win32/winpidgin.c --- 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 */