diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2014-12-16 15:00:03 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-12-18 12:38:14 +0100 |
commit | 9167f11f002725cc82c4995601d3220813cb1e62 (patch) | |
tree | fbabc6ae7c686e63e3095113597926a83dcfc5ed | |
parent | b342283d2dda28083322e99ffae874ba92839c74 (diff) | |
download | uci-9167f11f002725cc82c4995601d3220813cb1e62.tar.gz |
Fix a few style issues.
- Remove deprecated uci-static and ucimap-example from .gitignore.
- Minor code formatting fix.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | file.c | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -9,7 +9,5 @@ CMakeFiles install_manifest.txt uci -uci-static -ucimap-example uci_config.h test/save @@ -246,7 +246,7 @@ static char *next_arg(struct uci_context *ctx, bool required, bool name) skip_whitespace(ctx); val = ptr = pctx_pos(pctx); - if(pctx_cur_char(pctx) == ';') { + if (pctx_cur_char(pctx) == ';') { pctx_cur_char(pctx) = 0; pctx->pos += 1; } else { |