aboutsummaryrefslogtreecommitdiff
path: root/archival/unzip.c
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-26 23:44:51 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-05-26 23:44:51 +0000
commitab1c37300f2a6a0215c17cd683df316d8a1e8f59 (patch)
treeb717c772c6fef53c34b723341a8c5b12ccb57902 /archival/unzip.c
parentc806c321575528e76c4479666d398a0534cb81d8 (diff)
downloadbusybox-w32-ab1c37300f2a6a0215c17cd683df316d8a1e8f59.tar.gz
busybox-w32-ab1c37300f2a6a0215c17cd683df316d8a1e8f59.tar.bz2
busybox-w32-ab1c37300f2a6a0215c17cd683df316d8a1e8f59.zip
Change llist_add_* to take the address of the list rather than returning the new
head, and change all the callers. git-svn-id: svn://busybox.net/trunk/busybox@15199 69ca8d6d-28ef-0310-b511-8ec308f3f277
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;