summaryrefslogtreecommitdiff
path: root/archival/unzip.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-05-26 23:44:51 +0000
committerRob Landley <rob@landley.net>2006-05-26 23:44:51 +0000
commit8bb50782a5f0dd955a6fe18d381eb9322d1447e7 (patch)
treeb717c772c6fef53c34b723341a8c5b12ccb57902 /archival/unzip.c
parent5edc10275ec86f6ce6af97a8e2e5eeccb3a2e8cb (diff)
downloadbusybox-w32-8bb50782a5f0dd955a6fe18d381eb9322d1447e7.tar.gz
busybox-w32-8bb50782a5f0dd955a6fe18d381eb9322d1447e7.tar.bz2
busybox-w32-8bb50782a5f0dd955a6fe18d381eb9322d1447e7.zip
Change llist_add_* to take the address of the list rather than returning the new
head, and change all the callers.
Diffstat (limited to 'archival/unzip.c')
-rw-r--r--archival/unzip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/unzip.c b/archival/unzip.c
index 2cb256c76..0b1e6f997 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -180,7 +180,7 @@ int unzip_main(int argc, char **argv)
180 180
181 case 1: /* Include files */ 181 case 1: /* Include files */
182 if (opt == 1) { 182 if (opt == 1) {
183 zaccept = llist_add_to(zaccept, optarg); 183 llist_add_to(&zaccept, optarg);
184 184
185 } else if (opt == 'd') { 185 } else if (opt == 'd') {
186 base_dir = optarg; 186 base_dir = optarg;
@@ -196,7 +196,7 @@ int unzip_main(int argc, char **argv)
196 196
197 case 2 : /* Exclude files */ 197 case 2 : /* Exclude files */
198 if (opt == 1) { 198 if (opt == 1) {
199 zreject = llist_add_to(zreject, optarg); 199 llist_add_to(&zreject, optarg);
200 200
201 } else if (opt == 'd') { /* Extract to base directory */ 201 } else if (opt == 'd') { /* Extract to base directory */
202 base_dir = optarg; 202 base_dir = optarg;