Print this page
10120 smatch indenting fixes for usr/src/cmd
Reviewed by: Gergő Doma <domag02@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>

*** 18,27 **** --- 18,31 ---- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ + /* + * Copyright (c) 2018, Joyent, Inc. + */ + /* derived from @(#)rcmd.c 5.17 (Berkeley) 6/27/88 */ #include <unistd.h> #include <stdlib.h> #include <stdio.h>
*** 410,421 **** } (void) sigprocmask(SIG_SETMASK, &oldmask, (sigset_t *)0); *sock = s; /* pass back credentials if wanted */ ! if (cred) (void) krb5_copy_creds(bsd_context, ret_cred, cred); krb5_free_creds(bsd_context, ret_cred); /* * Initialize *authconp to auth_context, so * that the clients can make use of it */ *authconp = auth_context; --- 414,428 ---- } (void) sigprocmask(SIG_SETMASK, &oldmask, (sigset_t *)0); *sock = s; /* pass back credentials if wanted */ ! if (cred) ! (void) krb5_copy_creds(bsd_context, ret_cred, cred); ! krb5_free_creds(bsd_context, ret_cred); + /* * Initialize *authconp to auth_context, so * that the clients can make use of it */ *authconp = auth_context;