Ticket #20902: patch-avoid-compile-warnings.diff
File patch-avoid-compile-warnings.diff, 789 bytes (added by kiwi.2008@…, 15 years ago) |
---|
-
src/dotd.c
old new 18 18 * USA. 19 19 */ 20 20 21 #include <config.h> 22 21 23 #include <stdio.h> 22 24 #include <string.h> 23 25 #include <stdlib.h> -
src/emaillog.c
old new 18 18 * USA. 19 19 */ 20 20 21 #include <config.h> 22 21 23 #include <sys/types.h> 22 24 #include <sys/stat.h> 23 25 #include <errno.h> … … 120 122 asprintf(&will_send_message_to, will_send_message_format, whom_to_blame); 121 123 asprintf(&cant_send_message_to, cant_send_message_format, whom_to_blame); 122 124 123 rs_log_warning( will_send_message_to);125 rs_log_warning("%s", will_send_message_to); 124 126 free(will_send_message_to); 125 127 126 128 if (email_fileno < 0) {