diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-10 19:05:48 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-10 19:05:48 +0000 |
commit | 9ded857bf6bed71f477322c64d4813ebb7856e37 (patch) | |
tree | 33176ce63675a2ab5cbbbf7cf1c5bc5f313bf7d1 /acl.c | |
parent | 0ba03dd946dd3a888651da225930033e0e26c973 (diff) |
Whitespace changes only
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37345 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'acl.c')
-rw-r--r-- | acl.c | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -90,7 +90,7 @@ struct my_ifreq { void ast_free_ha(struct ast_ha *ha) { struct ast_ha *hal; - while(ha) { + while (ha) { hal = ha; ha = ha->next; free(hal); @@ -122,9 +122,9 @@ static struct ast_ha *ast_duplicate_ha(struct ast_ha *original) /* Used in chan_sip2 templates */ struct ast_ha *ast_duplicate_ha_list(struct ast_ha *original) { - struct ast_ha *start=original; + struct ast_ha *start = original; struct ast_ha *ret = NULL; - struct ast_ha *link,*prev=NULL; + struct ast_ha *link, *prev = NULL; while (start) { link = ast_duplicate_ha(start); /* Create copy of this object */ @@ -167,7 +167,7 @@ struct ast_ha *ast_append_ha(char *sense, char *stuff, struct ast_ha *path) if (!strchr(nm, '.')) { if ((sscanf(nm, "%d", &x) == 1) && (x >= 0) && (x <= 32)) { y = 0; - for (z=0;z<x;z++) { + for (z = 0; z < x; z++) { y >>= 1; y |= 0x80000000; } @@ -423,3 +423,4 @@ int ast_find_ourip(struct in_addr *ourip, struct sockaddr_in bindaddr) return 0; return -1; } + |