diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-06 03:05:54 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-06 03:05:54 +0000 |
commit | 6bef3d1d2216234454875052220ca0f477a820b4 (patch) | |
tree | 717060345370b781d3d1cde7ab4dd29304a066e8 /libbb/obscure.c | |
parent | 1bec1b980e3cf5ad604fb0c2038a3ab83d9ab5f5 (diff) | |
download | busybox-w32-6bef3d1d2216234454875052220ca0f477a820b4.tar.gz busybox-w32-6bef3d1d2216234454875052220ca0f477a820b4.tar.bz2 busybox-w32-6bef3d1d2216234454875052220ca0f477a820b4.zip |
fbset: fix buglet where we were using wrong pointer
readahead: stop using stdio.h
*: style fixes
Diffstat (limited to 'libbb/obscure.c')
-rw-r--r-- | libbb/obscure.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/obscure.c b/libbb/obscure.c index 2599095df..5cc906235 100644 --- a/libbb/obscure.c +++ b/libbb/obscure.c | |||
@@ -130,7 +130,8 @@ static const char *obscure_msg(const char *old_p, const char *new_p, const struc | |||
130 | c = 0; | 130 | c = 0; |
131 | p = new_p; | 131 | p = new_p; |
132 | while (1) { | 132 | while (1) { |
133 | if ((p = strchr(p, new_p[i])) == NULL) { | 133 | p = strchr(p, new_p[i]); |
134 | if (p == NULL) { | ||
134 | break; | 135 | break; |
135 | } | 136 | } |
136 | c++; | 137 | c++; |