diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-28 13:58:34 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-28 13:58:34 +0000 |
commit | 882e367e7e894f8becef0b1f3aa725586457037a (patch) | |
tree | 7b3e615ab4381915d92c9ae1855fe8650f9f6f54 /acl.c | |
parent | 5075c90ca6086d484c20c70e9c64a512fd1f29da (diff) |
remove trailing whitespace
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15519 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'acl.c')
-rw-r--r-- | acl.c | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -20,7 +20,7 @@ * * \brief Various sorts of access control * - * \author Mark Spencer <markster@digium.com> + * \author Mark Spencer <markster@digium.com> */ #include <stdio.h> @@ -136,7 +136,7 @@ struct ast_ha *ast_duplicate_ha_list(struct ast_ha *original) if (prev) prev->next = link; /* Link previous to this object */ - if (!ret) + if (!ret) ret = link; /* Save starting point */ start = start->next; /* Go to next object */ @@ -153,7 +153,7 @@ struct ast_ha *ast_append_ha(char *sense, char *stuff, struct ast_ha *path) struct ast_ha *prev = NULL; struct ast_ha *ret; int x, z; - unsigned int y; + unsigned int y; ret = path; while (path) { @@ -349,7 +349,7 @@ int ast_get_ip(struct sockaddr_in *sin, const char *value) } /* iface is the interface (e.g. eth0); address is the return value */ -int ast_lookup_iface(char *iface, struct in_addr *address) +int ast_lookup_iface(char *iface, struct in_addr *address) { int mysock, res = 0; struct my_ifreq ifreq; @@ -428,4 +428,3 @@ int ast_find_ourip(struct in_addr *ourip, struct sockaddr_in bindaddr) return 0; return -1; } - |