From: Nicolas Boichat Date: Mon, 26 Apr 2004 21:55:23 +0000 (+0000) Subject: Changed char* in const char* in csprint. X-Git-Tag: Release-1.34.3~88 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=27ab5b66c5de5d73e231fa6cb4ed66f87e8a85d2;p=bacula%2Fbacula Changed char* in const char* in csprint. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1312 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/wx-console/csprint.h b/bacula/src/wx-console/csprint.h index e4777a32ee..ce0975d41e 100644 --- a/bacula/src/wx-console/csprint.h +++ b/bacula/src/wx-console/csprint.h @@ -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 diff --git a/bacula/src/wx-console/wxbmainframe.cpp b/bacula/src/wx-console/wxbmainframe.cpp index 520b916797..6d52cd0e74 100644 --- a/bacula/src/wx-console/wxbmainframe.cpp +++ b/bacula/src/wx-console/wxbmainframe.cpp @@ -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);