git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1312 
91ce42f0-d328-0410-95d8-
f526ca767f89
 
 #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
 
  *  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);