From 59f0e4c7dd0b7a353a3920de4ff7863387e1ef67 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Tue, 28 Mar 2006 13:58:34 +0000 Subject: [PATCH] remove trailing whitespace git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15519 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- acl.c | 9 ++++----- slinfactory.c | 4 ---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/acl.c b/acl.c index 38c80eb7cf..007239fe4f 100644 --- a/acl.c +++ b/acl.c @@ -20,7 +20,7 @@ * * \brief Various sorts of access control * - * \author Mark Spencer + * \author Mark Spencer */ #include @@ -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; } - diff --git a/slinfactory.c b/slinfactory.c index 0b9fa94633..561b7d6727 100644 --- a/slinfactory.c +++ b/slinfactory.c @@ -156,7 +156,3 @@ int ast_slinfactory_read(struct ast_slinfactory *sf, short *buf, size_t bytes) sf->size -= sofar; return sofar; } - - - -