summaryrefslogtreecommitdiff
path: root/main/utils.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-01-23 00:11:32 +0000
committerJoshua Colp <jcolp@digium.com>2007-01-23 00:11:32 +0000
commit21b53af31dcf5e881bf2e6617d7605653119c2f4 (patch)
tree2dedc24f8adfd522fcad82dd7e12e53bf19ff853 /main/utils.c
parentdcdc6c0bc6d89a9f204dd637826e8b690ebf0206 (diff)
Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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;