diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-26 17:12:52 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-26 17:20:27 +0900 |
| commit | d64089632e82a2548752c7a6baaa68365a795a74 (patch) | |
| tree | 57fc7b85a8c1290975d58fa4761b04a7695bf7e3 /src/uri_split.h | |
| parent | c81b1321122e8509b55c94c0cbca0d8d6d319f0c (diff) | |
| parent | a7cd943a06b1a5ff4515b57060b84037f8d01f9f (diff) | |
Merge branch 'master' into random-webseeding
Diffstat (limited to 'src/uri_split.h')
| -rw-r--r-- | src/uri_split.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/uri_split.h b/src/uri_split.h index 5e330048..cb27de28 100644 --- a/src/uri_split.h +++ b/src/uri_split.h @@ -56,9 +56,7 @@ typedef enum { USR_MAX } uri_split_field; -typedef enum { - USF_IPV6ADDR = 1 -} uri_split_flag; +typedef enum { USF_IPV6ADDR = 1 } uri_split_flag; /* The structure is based on http-parser by Joyent, Inc and other Node contributors. https://github.com/joyent/http-parser */ @@ -83,7 +81,7 @@ typedef struct { * * This function returns 0 if it succeeds, or -1. */ -int uri_split(uri_split_result *res, const char *uri); +int uri_split(uri_split_result* res, const char* uri); #ifdef __cplusplus } |
