aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-03-31 23:18:49 +0200
committerKim Alvefur <zash@zash.se>2023-03-31 23:18:49 +0200
commit10431cfec62e20d9f64527ac0754e0a30fc6751e (patch)
tree8e774baeb30951bd0de623863115220e7988d92e
parent97d83f6c8f6978ac6eea22f3d414387f14ab39b9 (diff)
downloadprosody-10431cfec62e20d9f64527ac0754e0a30fc6751e.tar.gz
prosody-10431cfec62e20d9f64527ac0754e0a30fc6751e.zip
net.http: Rename enum in Teal spec to avoid name clash
-rw-r--r--teal-src/prosody/net/http.d.tl4
1 files changed, 2 insertions, 2 deletions
diff --git a/teal-src/prosody/net/http.d.tl b/teal-src/prosody/net/http.d.tl
index 08542e45..43b0bf4d 100644
--- a/teal-src/prosody/net/http.d.tl
+++ b/teal-src/prosody/net/http.d.tl
@@ -35,11 +35,11 @@ local record lib
record http_request
host : string
port : string
- enum scheme
+ enum Scheme
"http"
"https"
end
- scheme : scheme
+ scheme : Scheme
url : string
userinfo : string
path : string