diff options
author | Jonathan Rose <jrose@digium.com> | 2014-03-14 16:42:54 +0000 |
---|---|---|
committer | Jonathan Rose <jrose@digium.com> | 2014-03-14 16:42:54 +0000 |
commit | ff63012c4e944f81f6720b7ac84a3228e09619da (patch) | |
tree | 6a0223d1d367458dd045cda936bff709dc942f80 /main/acl.c | |
parent | c1e9d2f177cb85048822037d4cdba9622501023a (diff) |
PJSIP: TOS values should be represented as decimals in sorcery objects
(closes issue ASTERISK-23235)
Reported by: George Joseph
Review: https://reviewboard.asterisk.org/r/3324/
........
Merged revisions 410574 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/acl.c')
-rw-r--r-- | main/acl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/main/acl.c b/main/acl.c index a55e87458..c341125fd 100644 --- a/main/acl.c +++ b/main/acl.c @@ -894,12 +894,6 @@ const char *ast_tos2str(unsigned int tos) return "unknown"; } -void ast_tos2str_buf(unsigned int tos, char **buf) -{ - const char *tos_string = ast_tos2str(tos); - *buf = ast_strdup(tos_string); -} - int ast_get_ip(struct ast_sockaddr *addr, const char *hostname) { return ast_get_ip_or_srv(addr, hostname, NULL); |