diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-17 18:11:45 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-17 18:11:45 +0000 |
commit | 54cf511ce1286ce46f04e4cead085b4af829f179 (patch) | |
tree | a43331e67e2472f7a8c415aee09ce17137d734a6 /networking/wget.c | |
parent | ec27feb04589d46233802f686559fb5f532fb2df (diff) | |
download | busybox-w32-54cf511ce1286ce46f04e4cead085b4af829f179.tar.gz busybox-w32-54cf511ce1286ce46f04e4cead085b4af829f179.tar.bz2 busybox-w32-54cf511ce1286ce46f04e4cead085b4af829f179.zip |
sort: fix multiple -k (was ignoring all except last)
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c index e649ccdda..db222156b 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -157,7 +157,7 @@ int wget_main(int argc, char **argv) | |||
157 | if (headers_llist) { | 157 | if (headers_llist) { |
158 | int size = 1; | 158 | int size = 1; |
159 | char *cp; | 159 | char *cp; |
160 | llist_t *ll = headers_llist = rev_llist(headers_llist); | 160 | llist_t *ll = headers_llist = llist_rev(headers_llist); |
161 | while (ll) { | 161 | while (ll) { |
162 | size += strlen(ll->data) + 2; | 162 | size += strlen(ll->data) + 2; |
163 | ll = ll->link; | 163 | ll = ll->link; |