diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-05-26 11:43:43 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-05-26 10:22:22 +0000 |
commit | 3b8921fae2754c02a47f29238490d4ed2836353d (patch) | |
tree | 4f4eb45f256dc7953db1468c3f22359d6cb2bf94 | |
parent | adfa199b5d78d1b82d9c92f83f870afde6f24573 (diff) |
cosmetic: Whitespace fixes in control_if.c
Change-Id: I24666d0b90a355e9fdefd280d48900b8cac1de64
-rw-r--r-- | src/ctrl/control_if.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index 0ba25125..269b7b93 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -230,7 +230,7 @@ int ctrl_cmd_handle(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, if (!request) goto err; - for (i=0;i<strlen(request);i++) { + for (i = 0; i < strlen(request); i++) { if (request[i] == '.') request[i] = ' '; } @@ -242,7 +242,7 @@ int ctrl_cmd_handle(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, goto err; } - for (i=0;i<vector_active(vline);i++) { + for (i = 0; i < vector_active(vline); i++) { struct lookup_helper *lh; int rc; @@ -274,7 +274,7 @@ int ctrl_cmd_handle(struct ctrl_handle *ctrl, struct ctrl_cmd *cmd, return ret; default: /* If we're here the rest must be the command */ cmdvec = vector_init(vector_active(vline)-i); - for (j=i; j<vector_active(vline); j++) { + for (j = i; j < vector_active(vline); j++) { vector_set(cmdvec, vector_slot(vline, j)); } |