]> git.pld-linux.org Git - packages/libvncserver.git/blob - format_string.patch
- release 3 (by relup.sh)
[packages/libvncserver.git] / format_string.patch
1 Description: Use format string argument with fprintf.
2 Author: Luca Falavigna <dktrkranz@debian.org>
3
4 --- LibVNCServer-0.9.9/client_examples/gtkvncviewer.c~  2012-05-04 16:19:00.000000000 +0200
5 +++ LibVNCServer-0.9.9/client_examples/gtkvncviewer.c   2013-11-03 09:40:26.573431061 +0100
6 @@ -563,7 +563,7 @@
7  
8         time (&log_clock);
9         strftime (buf, 255, "%d/%m/%Y %X ", localtime (&log_clock));
10 -       fprintf (stdout, buf);
11 +       fprintf (stdout, "%s", buf);
12  
13         vfprintf (stdout, format, args);
14         fflush (stdout);
This page took 0.057645 seconds and 3 git commands to generate.