]> git.sur5r.net Git - bacula/bacula/commitdiff
Changed char* in const char* in csprint.
authorNicolas Boichat <nicolas@boichat.ch>
Mon, 26 Apr 2004 21:55:23 +0000 (21:55 +0000)
committerNicolas Boichat <nicolas@boichat.ch>
Mon, 26 Apr 2004 21:55:23 +0000 (21:55 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1312 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/wx-console/csprint.h
bacula/src/wx-console/wxbmainframe.cpp

index e4777a32eeba2b4243d2080931000c7f3cfdfa3f..ce0975d41e76f5d27ba37e7c6d93d6084cb4dc25 100644 (file)
@@ -35,6 +35,6 @@
 #define CS_TERMINATED   99 /* used to signal that the thread is terminated */
 
 /* function called by console_thread to send events back to the GUI */
-void csprint(char* str, int status=CS_DATA);
+void csprint(const char* str, int status=CS_DATA);
 
 #endif
index 520b916797006390a62547f68a11cb88c84f0cc7..6d52cd0e747b830c829fc1f2004f758ce2df2939 100644 (file)
@@ -499,7 +499,7 @@ void firePrintEvent(wxString str, int status)
  *  Called by console thread, this function forwards data line by line and end
  *  signals to the GUI.
  */
-void csprint(char* str, int status)
+void csprint(const char* str, int status)
 {
    if (str != 0) {
       firePrintEvent(wxString(str), status);