summaryrefslogtreecommitdiff
path: root/main/enum.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-01-23 00:11:32 +0000
committerJoshua Colp <jcolp@digium.com>2007-01-23 00:11:32 +0000
commit21b53af31dcf5e881bf2e6617d7605653119c2f4 (patch)
tree2dedc24f8adfd522fcad82dd7e12e53bf19ff853 /main/enum.c
parentdcdc6c0bc6d89a9f204dd637826e8b690ebf0206 (diff)
Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/enum.c')
-rw-r--r--main/enum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/enum.c b/main/enum.c
index 8140edd06..0cdf308fa 100644
--- a/main/enum.c
+++ b/main/enum.c
@@ -445,7 +445,7 @@ int ast_get_enum(struct ast_channel *chan, const char *number, char *dst, int ds
tmp[newpos++] = '.';
}
if (*p2) {
- while(*p2 && newpos < 128){
+ while (*p2 && newpos < 128){
tmp[newpos++] = *p2;
p2++;
}
@@ -634,7 +634,7 @@ int ast_enum_init(void)
/* Destroy existing list */
ast_mutex_lock(&enumlock);
s = toplevs;
- while(s) {
+ while (s) {
sl = s;
s = s->next;
free(sl);
@@ -644,7 +644,7 @@ int ast_enum_init(void)
if (cfg) {
sl = NULL;
v = ast_variable_browse(cfg, "general");
- while(v) {
+ while (v) {
if (!strcasecmp(v->name, "search")) {
s = enum_newtoplev(v->value);
if (s) {