summaryrefslogtreecommitdiff
path: root/usr/src/lib/krb5/ss/execute_cmd.c
diff options
context:
space:
mode:
authormp153739 <none@none>2006-10-07 13:37:05 -0700
committermp153739 <none@none>2006-10-07 13:37:05 -0700
commit56a424cca6b3f91f31bdab72a4626c48c779fe8b (patch)
tree9a50fae6e9e88996cc646a6b9a53425b2b8539d7 /usr/src/lib/krb5/ss/execute_cmd.c
parent124771bb5f403108fb9ed84bf6083c8d427d55ff (diff)
downloadillumos-gate-56a424cca6b3f91f31bdab72a4626c48c779fe8b.tar.gz
PSARC 2006/424 Kerberos 1.4 KDC Resync
6406993 kdc and client resync with MIT 1.4
Diffstat (limited to 'usr/src/lib/krb5/ss/execute_cmd.c')
-rw-r--r--usr/src/lib/krb5/ss/execute_cmd.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/lib/krb5/ss/execute_cmd.c b/usr/src/lib/krb5/ss/execute_cmd.c
index ca6108cb49..6a0030cdaf 100644
--- a/usr/src/lib/krb5/ss/execute_cmd.c
+++ b/usr/src/lib/krb5/ss/execute_cmd.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -196,8 +196,7 @@ int ss_execute_line (sci_idx, line_ptr)
char *line_ptr;
{
char **argv;
- int argc;
- int rc;
+ int argc, ret;
/* flush leading whitespace */
while (line_ptr[0] == ' ' || line_ptr[0] == '\t')
@@ -220,9 +219,9 @@ int ss_execute_line (sci_idx, line_ptr)
return 0;
/* look it up in the request tables, execute if found */
- rc = really_execute_command (sci_idx, argc, &argv);
+ ret = really_execute_command (sci_idx, argc, &argv);
free(argv);
- return (rc);
+ return(ret);
}