aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authoroga2008-05-15 22:18:00 +0000
committeroga2008-05-15 22:18:00 +0000
commit6a2c99a2df8d170eda74cccacbb5a5225d617d21 (patch)
tree0c8e74b70b51716961b2eb2057f7a26aa4e58de4 /util.c
parent15b4ab26e054ad00b82c48c070089cdb52cc823c (diff)
downloadcwm-6a2c99a2df8d170eda74cccacbb5a5225d617d21.tar.gz
KNF, no binary change.
From Pierre Riteau. Thanks!
Diffstat (limited to '')
-rw-r--r--util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.c b/util.c
index c4ceff7..4c55924 100644
--- a/util.c
+++ b/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]) {