aboutsummaryrefslogtreecommitdiff
path: root/libbb/appletlib.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-01-28 22:57:10 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-01-28 22:57:10 +0000
commit9772816570f0a63ac301f1885292b064e23f5310 (patch)
treea8e9c2947cd4dbc718989d508dfc742840a16e81 /libbb/appletlib.c
parent73032ca04be49c096f745f0873d67d9c831642bd (diff)
downloadbusybox-w32-9772816570f0a63ac301f1885292b064e23f5310.tar.gz
busybox-w32-9772816570f0a63ac301f1885292b064e23f5310.tar.bz2
busybox-w32-9772816570f0a63ac301f1885292b064e23f5310.zip
*: move getopt reset code to better place(s)
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r--libbb/appletlib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 80adff5e7..993618e98 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -638,7 +638,6 @@ void run_applet_no_and_exit(int applet_no, char **argv)
638 argc++; 638 argc++;
639 639
640 /* Reinit some shared global data */ 640 /* Reinit some shared global data */
641 optind = 1;
642 xfunc_error_retval = EXIT_FAILURE; 641 xfunc_error_retval = EXIT_FAILURE;
643 642
644 applet_name = APPLET_NAME(applet_no); 643 applet_name = APPLET_NAME(applet_no);