aboutsummaryrefslogtreecommitdiffstats
path: root/main/utils.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-11 18:27:47 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-11 18:27:47 +0000
commitadf32284d786b12a252f5feb0f67a9bb65117b48 (patch)
tree13b41c4dbe69fdfe18fe8f5d26befdad2bc40b7e /main/utils.c
parent74b3690774ea1d6c1150b7cc9bd40e8181e102c8 (diff)
Just some minor coding style cleanup...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103318 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/utils.c')
-rw-r--r--main/utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/utils.c b/main/utils.c
index 1b91781fa..f37dfb4a0 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -92,8 +92,8 @@ static int gethostbyname_r (const char *name, struct hostent *ret, char *buf,
} else {
char **p, **q;
char *pbuf;
- int nbytes=0;
- int naddr=0, naliases=0;
+ int nbytes = 0;
+ int naddr = 0, naliases = 0;
/* determine if we have enough space in buf */
/* count how many addresses */
@@ -180,7 +180,7 @@ struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp)
{
int res;
int herrno;
- int dots=0;
+ int dots = 0;
const char *s;
struct hostent *result = NULL;
/* Although it is perfectly legitimate to lookup a pure integer, for