summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorPavel Tvrdik <pawel.tvrdik@gmail.cz>2014-12-03 10:57:31 +0100
committerOndrej Zajicek <santiago@crfreenet.org>2015-02-21 19:32:57 +0100
commite598853e681d23dd7820627eeed96bf53197eae5 (patch)
tree7fe7bfaacd7dfefa614e4a4b50d694e0094b0df9 /client
parent4a591d4b947e0abc0ad013ca1b75da27c6922be5 (diff)
Add const to a param msg at functions log_msg, log_rl, die, bug and debug
Diffstat (limited to 'client')
-rw-r--r--client/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/util.c b/client/util.c
index 451bb60c..050224b9 100644
--- a/client/util.c
+++ b/client/util.c
@@ -17,7 +17,7 @@
/* Client versions of logging functions */
static void
-vlog(char *msg, va_list args)
+vlog(const char *msg, va_list args)
{
char buf[1024];
@@ -28,7 +28,7 @@ vlog(char *msg, va_list args)
}
void
-bug(char *msg, ...)
+bug(const char *msg, ...)
{
va_list args;
@@ -41,7 +41,7 @@ bug(char *msg, ...)
}
void
-die(char *msg, ...)
+die(const char *msg, ...)
{
va_list args;