summaryrefslogtreecommitdiff
path: root/app/cwm/util.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-05-15 22:18:01 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-05-15 22:18:01 +0000
commit34b7609ab2a3489a289ff69005d82e39e0df1d38 (patch)
treeaad7994759d487f7d4c9b1c55eb23c9aa5ca99d8 /app/cwm/util.c
parent8922e68dbc998b43da1c7c904799e15902248495 (diff)
KNF, no binary change.
From Pierre Riteau. Thanks!
Diffstat (limited to 'app/cwm/util.c')
-rw-r--r--app/cwm/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/cwm/util.c b/app/cwm/util.c
index c4ceff7c7..4c55924d0 100644
--- a/app/cwm/util.c
+++ b/app/cwm/util.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: util.c,v 1.8 2008/04/15 21:20:56 oga Exp $
+ * $Id: util.c,v 1.9 2008/05/15 22:18:00 oga Exp $
*/
#include "headers.h"
@@ -49,9 +49,9 @@ u_exec(char *argstr)
char *tmp;
while (ap < end && (*ap = strsep(&argstr, " \t")) != NULL) {
- if(**ap == '\0')
+ if (**ap == '\0')
continue;
- ap++;
+ ap++;
if (argstr != NULL) {
/* deal with quoted strings */
switch(argstr[0]) {