From 70092f771bb2cf25a8a712d01ea3efa734af6141 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 28 Apr 2003 18:26:16 +0000 Subject: [PATCH] * ksetpwd.c (init_creds): Let's use C comments for C code, shall we? git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15377 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kpasswd/ChangeLog | 5 +++++ src/clients/kpasswd/ksetpwd.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/clients/kpasswd/ChangeLog b/src/clients/kpasswd/ChangeLog index ac31dda99..0f20c6a0d 100644 --- a/src/clients/kpasswd/ChangeLog +++ b/src/clients/kpasswd/ChangeLog @@ -1,3 +1,8 @@ +2003-04-28 Ken Raeburn + + * ksetpwd.c (init_creds): Let's use C comments for C code, shall + we? + 2003-04-25 Sam Hartman * Makefile.in : Add rule to build ksetpw, a set/change password diff --git a/src/clients/kpasswd/ksetpwd.c b/src/clients/kpasswd/ksetpwd.c index 7b72b3659..e1fff87f3 100644 --- a/src/clients/kpasswd/ksetpwd.c +++ b/src/clients/kpasswd/ksetpwd.c @@ -207,7 +207,7 @@ int init_creds() userlen = strlen( user); if( userlen < 2 ) continue; - user[userlen-1] = 0; // get rid of the newline + user[userlen-1] = 0; /* get rid of the newline */ break; } { -- 2.26.2