Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 641aea93310e1c775d439ad3132f54c5 > files > 1

libical-0.43-2mdv2009.1.src.rpm

diff -p -up libical-0.43/examples/access_properties_and_parameters.c.format-security libical-0.43/examples/access_properties_and_parameters.c
--- libical-0.43/examples/access_properties_and_parameters.c.format-security	2009-01-15 14:33:10.000000000 +0100
+++ libical-0.43/examples/access_properties_and_parameters.c	2009-01-15 14:33:34.000000000 +0100
@@ -44,7 +44,7 @@ void get_required_attendees(icalcomponen
 	    /* Remember, the caller does not own this string, so you
                should strdup it if you want to change it. */
 	    const char *attendee = icalproperty_get_attendee(p);
-	    printf(attendee);
+	    printf("%s", attendee);
 	}
     }