summaryrefslogtreecommitdiffhomepage
path: root/svr-service.c
diff options
context:
space:
mode:
authorFrançois Perrad <francois.perrad@gadz.org>2018-02-26 14:31:15 +0100
committerMatt Johnston <matt@ucc.asn.au>2018-02-26 21:31:15 +0800
commit2e836bb553d72d2546de80b7f4da35355efe5baf (patch)
tree0807ceaabc2f87b33d422acdcad73c45c4f80b10 /svr-service.c
parent36ccfd21e71ecbf7c5441194b8d38bfe1ffe61a6 (diff)
more linting (#58)
* const parameter * fix indentation
Diffstat (limited to 'svr-service.c')
-rw-r--r--svr-service.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svr-service.c b/svr-service.c
index 1f72ea5..0aa487c 100644
--- a/svr-service.c
+++ b/svr-service.c
@@ -30,7 +30,7 @@
#include "ssh.h"
#include "auth.h"
-static void send_msg_service_accept(char *name, int len);
+static void send_msg_service_accept(const char *name, int len);
/* processes a SSH_MSG_SERVICE_REQUEST, returning 0 if finished,
* 1 if not */
@@ -73,7 +73,7 @@ void recv_msg_service_request() {
}
-static void send_msg_service_accept(char *name, int len) {
+static void send_msg_service_accept(const char *name, int len) {
TRACE(("accepting service %s", name))