summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2015-05-12 03:34:00 -0500
committerepochqwert <epoch@hacking.allowed.org>2015-05-12 03:34:00 -0500
commit2863ed85e74edaff40aef16d0e91c98e430c1060 (patch)
treef6c706b8c97d88358dc8e4daf87c17debaea92ad /src/bin
parent6af32e50e9e00989d4f9dbd7a4069540576952c6 (diff)
downloadmisc-2863ed85e74edaff40aef16d0e91c98e430c1060.tar.gz
misc-2863ed85e74edaff40aef16d0e91c98e430c1060.zip
added a really slow shell implementation of grepurl.
fixed cuturl when no arguments were given. would eat argv[0] as an argument. :/
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/cuturl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/cuturl.c b/src/bin/cuturl.c
index 40b7766..7451a27 100644
--- a/src/bin/cuturl.c
+++ b/src/bin/cuturl.c
@@ -58,9 +58,9 @@ int main(int argc,char *argv[]) {
printf("To set default values use environment variables like: CUTURL_[OPTION]\n");
return 2;
}
- argc--;
- argv++;
}
+ argv++;
+ argc--;
while(1) {
scheme=0;
username=0;