From 21ec54850b65bbff0c44874cc1de4fe8cf8f7e7d Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Tue, 13 Sep 2011 15:58:04 +0000 Subject: [PATCH] Make parameters const, its not altered inside. --- citadel/file_ops.c | 2 +- citadel/file_ops.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/citadel/file_ops.c b/citadel/file_ops.c index 3bb6da1d8..4ec3f8e51 100644 --- a/citadel/file_ops.c +++ b/citadel/file_ops.c @@ -49,7 +49,7 @@ * network_talking_to() -- concurrency checker */ static char *nttlist = NULL; -int network_talking_to(char *nodename, int operation) { +int network_talking_to(const char *nodename, int operation) { char *ptr = NULL; int i; diff --git a/citadel/file_ops.h b/citadel/file_ops.h index 125c5a6be..03c3dc7ed 100644 --- a/citadel/file_ops.h +++ b/citadel/file_ops.h @@ -6,7 +6,7 @@ void OpenCmdResult (char *, const char *); void abort_upl (CitContext *who); -int network_talking_to(char *nodename, int operation); +int network_talking_to(const char *nodename, int operation); /* * Operations that can be performed by network_talking_to() -- 2.30.2