aboutsummaryrefslogtreecommitdiff
path: root/examples/samplesshd-tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/samplesshd-tty.c')
-rw-r--r--examples/samplesshd-tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/samplesshd-tty.c b/examples/samplesshd-tty.c
index c70f6bd..373ec07 100644
--- a/examples/samplesshd-tty.c
+++ b/examples/samplesshd-tty.c
@@ -62,7 +62,7 @@ static void cleanup_pcap(){
#endif
-static int auth_password(char *user, char *password){
+static int auth_password(const char *user, const char *password){
if(strcmp(user, SSHD_USER))
return 0;
if(strcmp(password, SSHD_PASSWORD))