mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Just some minor coding style cleanup...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user