still one left in tray-monitor

--
Luca Berra -- bl...@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \
diff -p -up bacula-5.0.2/src/tray-monitor/tray-monitor.c.literal 
bacula-5.0.1/src/tray-monitor/tray-monitor.c
--- bacula-5.0.2/src/tray-monitor/tray-monitor.c.literal        2010-02-24 
12:33:48.000000000 -0300
+++ bacula-5.0.2/src/tray-monitor/tray-monitor.c        2010-03-11 
11:55:52.066382616 -0300
@@ -1078,7 +1078,7 @@ void trayMessage(const char *fmt,...)
    bvsnprintf(buf, sizeof(buf), (char *)fmt, arg_ptr);
    va_end(arg_ptr);
 
-   fprintf(stderr, buf);
+   fprintf(stderr, "%s", buf);
 
 // gtk_tray_icon_send_message(gtk_status_icon_get_tray_icon(mTrayIcon), 5000, 
(const char*)&buf, -1);
 }
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to