mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
Fix formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
9
enum.c
9
enum.c
@@ -64,8 +64,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||
#define T_TXT 16
|
||||
#endif
|
||||
|
||||
/* The IETF Enum standard root, managed by the ITU */
|
||||
#define TOPLEV "e164.arpa."
|
||||
#define TOPLEV "e164.arpa." /*!< The IETF Enum standard root, managed by the ITU */
|
||||
|
||||
/* Linked list from config file */
|
||||
static struct enum_search {
|
||||
@@ -531,7 +530,6 @@ int ast_get_enum(struct ast_channel *chan, const char *number, char *dst, int ds
|
||||
} else if (!(context.options & ENUMLOOKUP_OPTIONS_COUNT)) {
|
||||
context.dst[0] = 0;
|
||||
}
|
||||
|
||||
if (chan)
|
||||
ret |= ast_autoservice_stop(chan);
|
||||
|
||||
@@ -600,7 +598,8 @@ int ast_get_txt(struct ast_channel *chan, const char *number, char *dst, int dst
|
||||
break;
|
||||
}
|
||||
if (ret < 0) {
|
||||
ast_log(LOG_DEBUG, "No such number found: %s (%s)\n", tmp, strerror(errno));
|
||||
if (option_debug > 1)
|
||||
ast_log(LOG_DEBUG, "No such number found in ENUM: %s (%s)\n", tmp, strerror(errno));
|
||||
ret = 0;
|
||||
}
|
||||
if (chan)
|
||||
@@ -608,7 +607,7 @@ int ast_get_txt(struct ast_channel *chan, const char *number, char *dst, int dst
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*! \brief Add enum tree to linked list ---*/
|
||||
/*! \brief Add enum tree to linked list */
|
||||
static struct enum_search *enum_newtoplev(char *s)
|
||||
{
|
||||
struct enum_search *tmp;
|
||||
|
||||
Reference in New Issue
Block a user