diff options
author | Joshua Colp <jcolp@digium.com> | 2008-02-11 18:27:47 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2008-02-11 18:27:47 +0000 |
commit | c81350d6f65e9a11da6b3b15a81d8cfb7a5eb6f5 (patch) | |
tree | 13b41c4dbe69fdfe18fe8f5d26befdad2bc40b7e /main/utils.c | |
parent | ef267cd83817c17c46b2b924e765edebd13bb508 (diff) |
Just some minor coding style cleanup...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/utils.c')
-rw-r--r-- | main/utils.c | 6 |
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 |