mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 06:26:41 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user