projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fa97af
)
libbb/obscure.c: code shrink. Suggested by Tito.
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 16 Apr 2014 17:51:34 +0000
(19:51 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 16 Apr 2014 17:51:34 +0000
(19:51 +0200)
function old new delta
string_checker 97 92 -5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/obscure.c
patch
|
blob
|
history
diff --git
a/libbb/obscure.c
b/libbb/obscure.c
index 9ecc1f672cc127f113248b15c5a89395d5b61013..24c4ac917119bd7011b3d1a967e233fb07c484f7 100644
(file)
--- a/
libbb/obscure.c
+++ b/
libbb/obscure.c
@@
-76,7
+76,7
@@
static int string_checker(const char *p1, const char *p2)
ret |= string_checker_helper(p, p2);
/* clean up */
-
memset(p, 0, size
);
+
nuke_str(p
);
free(p);
return ret;