]> git.pld-linux.org Git - packages/libvncserver.git/blob - format_string.patch
cb01012baea23e7553ea6a076b1a154ee1816ec1
[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.027421 seconds and 2 git commands to generate.