Software /
code /
prosody
File
teal-src/util/jid.d.tl @ 12239:578ce0415398
util.dns: Fix returning read position after zero-length name
Doesn't affect normal usage by Prosody since neither A nor AAAA records
use this and SRV records has the host name last so the position is not
needed.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 04 Oct 2020 21:27:20 +0200 |
parent | 11432:113f3912c7cb |
line wrap: on
line source
local record lib split : function (string) : string, string, string bare : function (string) : string prepped_split : function (string, boolean) : string, string, string join : function (string, string, string) : string prep : function (string, boolean) : string compare : function (string, string) : boolean node : function (string) : string host : function (string) : string resource : function (string) : string escape : function (string) : string unescape : function (string) : string end return lib