From 19a8d2d04d02ce3a53cdfe237551e64b32cf521d Mon Sep 17 00:00:00 2001 From: Mitchell Berger Date: Wed, 20 Jun 2001 05:01:37 +0000 Subject: [PATCH] Fixed several typos in comments git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13399 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/kdb.h | 2 +- src/kadmin/server/misc.c | 4 ++-- src/kadmin/server/ovsec_kadmd.c | 7 ------- src/lib/kadm5/adb.h | 4 ++-- src/lib/kadm5/admin.h | 4 ++-- src/lib/kadm5/srv/adb_policy.c | 10 +++++----- src/lib/kadm5/srv/svr_policy.c | 6 +++--- src/lib/kdb/kdb_xdr.c | 2 +- 8 files changed, 16 insertions(+), 23 deletions(-) diff --git a/src/include/krb5/kdb.h b/src/include/krb5/kdb.h index fc20b8766..58b0275ce 100644 --- a/src/include/krb5/kdb.h +++ b/src/include/krb5/kdb.h @@ -369,7 +369,7 @@ typedef struct _krb5_db_entry { krb5_int32 expansion[8]; } krb5_db_entry_OLD; -#endif /* OLD_AND_KRUFTY */ +#endif /* KRB5_OLD_AND_KRUFTY */ /* This is now a structure that is private to the database backend. */ #ifdef notdef diff --git a/src/kadmin/server/misc.c b/src/kadmin/server/misc.c index ea0e4ce80..61bed42d3 100644 --- a/src/kadmin/server/misc.c +++ b/src/kadmin/server/misc.c @@ -23,8 +23,8 @@ static char *rcsid = "$Header$"; * Arguments: * principal (input) krb5_principals whose password we are * changing - * passoword (input) passowrd we are going to change to. - * 0 on sucsess error code on failure. + * passoword (input) password we are going to change to. + * 0 on success error code on failure. * * Requires: * kadm5_init to have been run. diff --git a/src/kadmin/server/ovsec_kadmd.c b/src/kadmin/server/ovsec_kadmd.c index dade23a4c..f145de7c6 100644 --- a/src/kadmin/server/ovsec_kadmd.c +++ b/src/kadmin/server/ovsec_kadmd.c @@ -1104,10 +1104,3 @@ cleanup: return; } - - - - - - - diff --git a/src/lib/kadm5/adb.h b/src/lib/kadm5/adb.h index 031f075de..0277aba07 100644 --- a/src/lib/kadm5/adb.h +++ b/src/lib/kadm5/adb.h @@ -1,6 +1,6 @@ /* - * Data Types for policys, and principal information that - * exist in the respective databases. + * Data Types for policy and principal information that + * exists in the respective databases. * * $Header$ * diff --git a/src/lib/kadm5/admin.h b/src/lib/kadm5/admin.h index fe21282fd..5df8f8ef9 100644 --- a/src/lib/kadm5/admin.h +++ b/src/lib/kadm5/admin.h @@ -34,7 +34,7 @@ typedef long kadm5_ret_t; (error_message(CHPASS_UTIL_NEW_PASSWORD_AGAIN_PROMPT)) /* - * Succsessfull return code + * Successful return code */ #define KADM5_OK 0 @@ -476,7 +476,7 @@ enum ovsec_kadm_saltmod { OVSEC_KADM_MOD_KEEP, OVSEC_KADM_MOD_V4, OVSEC_KADM_MO ((char *) error_message(CHPASS_UTIL_NEW_PASSWORD_AGAIN_PROMPT)) /* - * Succsessfull return code + * Successful return code */ #define OVSEC_KADM_OK 0 diff --git a/src/lib/kadm5/srv/adb_policy.c b/src/lib/kadm5/srv/adb_policy.c index 9f5065c2d..7403d31a7 100644 --- a/src/lib/kadm5/srv/adb_policy.c +++ b/src/lib/kadm5/srv/adb_policy.c @@ -78,7 +78,7 @@ osa_adb_ret_t osa_adb_close_policy(osa_adb_princ_t db) * * Arguments: * entry (input) pointer to the entry to be added - * OSA_ADB_OK on sucsess, else error code. + * OSA_ADB_OK on success, else error code. * * Requires: * entry have a valid name. @@ -153,7 +153,7 @@ error: * Arguments: * db (input) database handle * name (input) name of policy - * OSA_ADB_OK on sucsess, or error code. + * OSA_ADB_OK on success, or error code. * * Requires: * db being valid. @@ -211,7 +211,7 @@ error: * db (input) db handle * name (input) name of policy * entry (output) policy entry - * 0 on sucsess, error code on failure. + * 0 on success, error code on failure. * * Requires: * Effects: @@ -277,7 +277,7 @@ error: * Arguments: * db (input) db handle * entry (input) policy entry - * 0 on sucsess error code on failure. + * 0 on success error code on failure. * * Requires: * [requires] @@ -350,7 +350,7 @@ error: * db (input) db handle * func (input) fucntion pointer to call * data opaque data type - * 0 on sucsess error code on failure + * 0 on success error code on failure * * Requires: * Effects: diff --git a/src/lib/kadm5/srv/svr_policy.c b/src/lib/kadm5/srv/svr_policy.c index 74e252115..d03cfd0b6 100644 --- a/src/lib/kadm5/srv/svr_policy.c +++ b/src/lib/kadm5/srv/svr_policy.c @@ -29,7 +29,7 @@ static char *rcsid = "$Header$"; * entry (input) The policy entry to be written out to the DB. * mask (input) Specifies which fields in entry are to ge written out * and which get default values. - * 0 if sucsessfull otherwise an error code is returned. + * 0 if successful otherwise an error code is returned. * * Requires: * Entry must be a valid principal entry, and mask have a valid value. @@ -62,14 +62,14 @@ kadm5_create_policy(void *server_handle, * entry (input) The policy entry to be written out to the DB. * mask (input) Specifies which fields in entry are to ge written out * and which get default values. - * 0 if sucsessfull otherwise an error code is returned. + * 0 if successful otherwise an error code is returned. * * Requires: * Entry must be a valid principal entry, and mask have a valid value. * * Effects: * Writes the data to the database, and does a database sync if - * sucsessfull. + * successful. * */ diff --git a/src/lib/kdb/kdb_xdr.c b/src/lib/kdb/kdb_xdr.c index ebe8189f0..5573431c6 100644 --- a/src/lib/kdb/kdb_xdr.c +++ b/src/lib/kdb/kdb_xdr.c @@ -338,7 +338,7 @@ krb5_encode_princ_contents(context, content, entry) /* * Now we go through entry again, this time copying data - * These first entries are always saved regaurdless of version + * These first entries are always saved regardless of version */ nextloc = content->data; -- 2.26.2