aboutsummaryrefslogtreecommitdiffstats
path: root/main/enum.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-23 00:11:32 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-23 00:11:32 +0000
commitcd15e6156e2c86dc13f28f31da59b58df7a1966e (patch)
tree2dedc24f8adfd522fcad82dd7e12e53bf19ff853 /main/enum.c
parent363b34c1e91602d96708183a0ac50874bac93c4b (diff)
Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51486 f38db490-d61c-443f-a65b-d21fe96a405b
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) {