summaryrefslogtreecommitdiff
path: root/matchurl.c
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2015-12-30 04:41:01 -0600
committerepochqwert <epoch@hacking.allowed.org>2015-12-30 04:41:01 -0600
commit88579ab91621abc3a9a6f31c132de50510aca777 (patch)
tree9663d5262643e59775140508319f6b82ab159a2b /matchurl.c
parent1db8f7d916874f22c15df3121e3ec5ba5f7e7310 (diff)
downloaduritools-88579ab91621abc3a9a6f31c132de50510aca777.tar.gz
uritools-88579ab91621abc3a9a6f31c132de50510aca777.zip
forgot to remove 'D: ' from a printf I was using for debugging.
Diffstat (limited to 'matchurl.c')
-rw-r--r--matchurl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/matchurl.c b/matchurl.c
index 9029616..396f829 100644
--- a/matchurl.c
+++ b/matchurl.c
@@ -38,7 +38,7 @@ int main(int argc,char *argv[]) {
case 'f': if(u.fragment_id && !strcmp(u.fragment_id,argv[i+1])) printf("%s\n",copy); break;
case 'D':
if(u.domain && strlen(u.domain) >= strlen(argv[i+1]) && !strncmp(u.domain+strlen(u.domain)-strlen(argv[i+1]),argv[i+1],strlen(argv[i+1])))
- printf("D: %s\n",copy);
+ printf("%s\n",copy);
break;
default:
printf("unknown url part letter! '%c'\n",argv[i][0]);