summaryrefslogtreecommitdiff
path: root/acl.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-07-10 19:05:48 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-07-10 19:05:48 +0000
commit229ab7d9cff3ada2291308a868e79ee8c8c14deb (patch)
tree33176ce63675a2ab5cbbbf7cf1c5bc5f313bf7d1 /acl.c
parent4a3e227291acf432be49325ea3f9b1fde3a41411 (diff)
Whitespace changes only
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'acl.c')
-rw-r--r--acl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/acl.c b/acl.c
index b3ca90362..15057aa24 100644
--- a/acl.c
+++ b/acl.c
@@ -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;
}
+