summaryrefslogtreecommitdiffstats
path: root/tests/opkg_extract_test.c
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-08-17 23:39:02 (EDT)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2010-08-17 23:39:02 (EDT)
commit0a4946b3e913a2affe5fd342aa88e2533d06356e (patch)
treea53f2e977e6d39ac8356a9664fa46bec26c31c85 /tests/opkg_extract_test.c
parent0eb2cb22be9a69e9562fea935617864cc0e5f217 (diff)
Remove trailing whitespace. Sorry if this breaks your patches.
git-svn-id: http://opkg.googlecode.com/svn/trunk@552 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'tests/opkg_extract_test.c')
-rw-r--r--tests/opkg_extract_test.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/opkg_extract_test.c b/tests/opkg_extract_test.c
index 582ea71..9754691 100644
--- a/tests/opkg_extract_test.c
+++ b/tests/opkg_extract_test.c
@@ -3,7 +3,7 @@
#include <libbb/libbb.h>
/*
- * build thus:
+ * build thus:
* gcc -o opkg_extract_test opkg_extract_test.c -I./busybox-0.60.2/libbb -L./busybox-0.60.2 -lbb
*
@@ -14,7 +14,7 @@ int main(int argc, char * argv[])
{
/*
* see libbb.h and let your imagination run wild
- * or, set the last item below to extract_one_to_buffer, and you get the control file in
+ * or, set the last item below to extract_one_to_buffer, and you get the control file in
* "returned"
* or, set the last one to extract_all_to_fs, and, well, guess what happens
*/
@@ -23,12 +23,12 @@ int main(int argc, char * argv[])
enum extract_functions_e dowhat = extract_control_tar_gz | extract_all_to_fs | extract_preserve_date;
char * returned;
char * filename;
-
+
if(argc < 2){
fprintf(stderr, "syntax: %s <opkg file> [<file_to_extract>]\n", argv[0]);
exit(0);
}
-
+
if (argc < 3){
filename=NULL;
} else {
@@ -36,7 +36,7 @@ int main(int argc, char * argv[])
}
returned = deb_extract(argv[1], stdout, dowhat, NULL, filename);
-
+
if(returned)
fprintf(stderr, "returned %s\n", returned);
else