diff svr-service.c @ 1538:f20038b513a5

more linting (#58) * const parameter * fix indentation
author François Perrad <francois.perrad@gadz.org>
date Mon, 26 Feb 2018 14:31:15 +0100
parents aaf576b27a10
children
line wrap: on
line diff
--- a/svr-service.c	Mon Feb 26 21:17:13 2018 +0800
+++ b/svr-service.c	Mon Feb 26 14:31:15 2018 +0100
@@ -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 @@
 
 }
 
-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))