diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-03-10 11:23:45 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-03-10 11:23:45 +0100 |
commit | 633d6532beb8cb8bd4f44732177499d4023fe624 (patch) | |
tree | 1005d5a483e9237e71dd5991958e2ea3094dcd0d /examples/samplesshd.c | |
parent | 7e921b7afb86d6741d62d893ba141e5a2582b7af (diff) | |
download | libssh-633d6532beb8cb8bd4f44732177499d4023fe624.tar.gz libssh-633d6532beb8cb8bd4f44732177499d4023fe624.tar.xz libssh-633d6532beb8cb8bd4f44732177499d4023fe624.zip |
example: Use const in auth_password from samplesshd.
Diffstat (limited to 'examples/samplesshd.c')
-rw-r--r-- | examples/samplesshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/samplesshd.c b/examples/samplesshd.c index 7ce5d1e..8c0fe95 100644 --- a/examples/samplesshd.c +++ b/examples/samplesshd.c @@ -58,7 +58,7 @@ 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,"aris")) return 0; if(strcmp(password,"lala")) |