summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2013-03-23 08:12:16 -0400
committerSteve Dickson <steved@redhat.com>2013-03-25 10:09:11 -0400
commit8239ec6587ce103d7bcb4b37c680c0c10ef5b37c (patch)
tree9915b92abfded6b7afa4769bcef3ab6486decc46
parentf1e171dcbe6fa182ff6d8ccf0ab9aff620106889 (diff)
downloadnfs-utils-8239ec6587ce103d7bcb4b37c680c0c10ef5b37c.zip
nfs-utils-8239ec6587ce103d7bcb4b37c680c0c10ef5b37c.tar.gz
nfs-utils-8239ec6587ce103d7bcb4b37c680c0c10ef5b37c.tar.xz
gssd: Fix whitespace nits
Acked-by: J. Bruce Fields <bfields@fieldses.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/gssd/gssd_proc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/gssd/gssd_proc.c b/utils/gssd/gssd_proc.c
index e10bda6..698f86f 100644
--- a/utils/gssd/gssd_proc.c
+++ b/utils/gssd/gssd_proc.c
@@ -169,7 +169,7 @@ sockaddr_to_hostname(const struct sockaddr *sa, const char *addr)
{
socklen_t addrlen;
int err;
- char *hostname;
+ char *hostname;
char hbuf[NI_MAXHOST];
switch (sa->sa_family) {
@@ -708,7 +708,7 @@ out_err:
/*
* If the port isn't already set, do an rpcbind query to the remote server
- * using the program and version and get the port.
+ * using the program and version and get the port.
*
* Newer kernels send the value of the port= mount option in the "info"
* file for the upcall or '0' for NFSv2/3. For NFSv4 it sends the value
@@ -1013,7 +1013,7 @@ process_krb5_upcall(struct clnt_info *clp, uid_t uid, int fd, char *tgtname,
printerr(0, "ERROR: No credentials found "
"for connection to server %s\n",
clp->servername);
- goto out_return_error;
+ goto out_return_error;
}
for (ccname = credlist; ccname && *ccname; ccname++) {
gssd_setup_krb5_machine_gss_ccache(*ccname);
@@ -1023,12 +1023,12 @@ process_krb5_upcall(struct clnt_info *clp, uid_t uid, int fd, char *tgtname,
/* Success! */
success++;
break;
- }
+ }
printerr(2, "WARNING: Failed to create machine krb5 context "
"with credentials cache %s for server %s\n",
*ccname, clp->servername);
}
- gssd_free_krb5_machine_cred_list(credlist);
+ gssd_free_krb5_machine_cred_list(credlist);
if (!success) {
if(nocache == 0) {
nocache++;
@@ -1225,6 +1225,6 @@ out:
free(enctypes);
free(target);
free(service);
- return;
+ return;
}