* adm_conn.c, kpasswd.c, srv_net.c: Changed various char string variables into
authorKen Raeburn <raeburn@mit.edu>
Fri, 22 Jun 2001 01:47:29 +0000 (01:47 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 22 Jun 2001 01:47:29 +0000 (01:47 +0000)
commit5c0e770d3be85b7ff7eb9534ca1add1883d2530f
treea5cd3f50734a2a3ea72404ed58602a8e99977e64
parentc871afdb60d31ec9245f80c3e965fc0767915948
* adm_conn.c, kpasswd.c, srv_net.c: Changed various char string variables into
macros, for better format/argument checking under gcc.

* main.c (pwd_change): Use strncpy instead of sprintf to copy error message
text into buffer.  Use goto rather than repeated code.
(main): Use %lx for params.mask.  Make debug_level volatile.  Delete unused
variables oldnames, rlen.

* srv_net.c (net_find_slave): Initialize "found".
(net_dispatch): Make "kret" volatile, so longjmp won't clobber it.
(net_slaves_active): Variable deleted.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13469 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/v5passwdd/ChangeLog
src/kadmin/v5passwdd/adm_conn.c
src/kadmin/v5passwdd/kpasswd.c
src/kadmin/v5passwdd/main.c
src/kadmin/v5passwdd/srv_net.c