diff options
Diffstat (limited to 'usr/src/lib/libmail/common/setup_exec.c')
| -rw-r--r-- | usr/src/lib/libmail/common/setup_exec.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/usr/src/lib/libmail/common/setup_exec.c b/usr/src/lib/libmail/common/setup_exec.c index b0efc3454e..f7fdfb3e45 100644 --- a/usr/src/lib/libmail/common/setup_exec.c +++ b/usr/src/lib/libmail/common/setup_exec.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,18 +19,16 @@ * CDDL HEADER END */ -/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ - /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ +/* All Rights Reserved */ + #pragma ident "%Z%%M% %I% %E% SMI" -/*LINTLIBRARY*/ -#include "c_synonyms.h" #include <sys/types.h> #include <ctype.h> #include "libmail.h" @@ -57,7 +54,7 @@ setup_exec(char *s) q = p; stop = FALSE; while (*q && (stop == FALSE)) { - again: + again: switch (*q) { case '\\': /* Slide command string 1 char to left */ @@ -65,7 +62,7 @@ setup_exec(char *s) break; case '"': ignorespace = ((ignorespace == TRUE) ? - FALSE : TRUE); + FALSE : TRUE); /* Slide command string 1 char to left */ strmove(q, q+1); goto again; |
