diff options
author | epoch <epoch@hacking.allowed.org> | 2019-04-20 06:43:23 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2019-04-20 06:43:23 -0500 |
commit | 6a78fa292800adba07094bd5e06b0bb8a4fb8305 (patch) | |
tree | d945366b7690fc7743ba730820c98bc0a3b802d2 /uricut.c | |
parent | d76a5edf9bc16f5fd610dab5c69e6359cd8e1381 (diff) | |
download | uritools-6a78fa292800adba07094bd5e06b0bb8a4fb8305.tar.gz uritools-6a78fa292800adba07094bd5e06b0bb8a4fb8305.zip |
put _XOPEN_SOURCE only in the file it is actually needed. fixed parse bug where uris without a scheme were not defaulting provided line to an authority section
Diffstat (limited to 'uricut.c')
-rw-r--r-- | uricut.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,8 +1,9 @@ +#define _XOPEN_SOURCE 500 +#include <string.h> #include "uri.h" #include <netdb.h> #include <stdio.h> -#include <string.h> #include <stdlib.h> #include <errno.h> #include <unistd.h> |