aboutsummaryrefslogtreecommitdiffstats
path: root/main/utils.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-23 00:11:32 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-01-23 00:11:32 +0000
commitcd15e6156e2c86dc13f28f31da59b58df7a1966e (patch)
tree2dedc24f8adfd522fcad82dd7e12e53bf19ff853 /main/utils.c
parent363b34c1e91602d96708183a0ac50874bac93c4b (diff)
Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51486 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/utils.c')
-rw-r--r--main/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/utils.c b/main/utils.c
index dd12009d1..cdb87eb57 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -192,7 +192,7 @@ struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp)
pure integer */
s = host;
res = 0;
- while(s && *s) {
+ while (s && *s) {
if (*s == '.')
dots++;
else if (!isdigit(*s))
@@ -329,7 +329,7 @@ int ast_base64decode(unsigned char *dst, const char *src, int max)
unsigned int byte = 0;
unsigned int bits = 0;
int incnt = 0;
- while(*src && (cnt < max)) {
+ while (*src && (cnt < max)) {
/* Shift in 6 bits of input */
byte <<= 6;
byte |= (b2a[(int)(*src)]) & 0x3f;