Mercurial > dropbear
diff svr-auth.c @ 1459:06d52bcb8094
Pointer parameter could be declared as pointing to const
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Sat, 19 Aug 2017 17:16:13 +0200 |
parents | 517c67cbcd31 |
children | 5916af64acd4 ed930fd6f60f |
line wrap: on
line diff
--- a/svr-auth.c Sat Aug 12 20:51:58 2017 +0200 +++ b/svr-auth.c Sat Aug 19 17:16:13 2017 +0200 @@ -81,7 +81,7 @@ /* Send a banner message if specified to the client. The client might * ignore this, but possibly serves as a legal "no trespassing" sign */ -void send_msg_userauth_banner(buffer *banner) { +void send_msg_userauth_banner(const buffer *banner) { TRACE(("enter send_msg_userauth_banner"))