Misc formatting cleanups

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich
2004-06-22 20:11:15 +00:00
parent 024f486810
commit 3f9c34f415
10 changed files with 45 additions and 51 deletions

4
srv.c
View File

@@ -88,7 +88,7 @@ static int srv_callback(void *context, u_char *answer, int len, u_char *fullansw
if (!ast_strlen_zero(c->host))
return 1;
return 0;
return 0;
}
int ast_get_srv(struct ast_channel *chan, char *host, int hostlen, int *port, const char *service)
@@ -110,7 +110,7 @@ int ast_get_srv(struct ast_channel *chan, char *host, int hostlen, int *port, co
if (ret <= 0) {
strcpy(host, "");
*port = -1;
*port = -1;
return ret;
}
return ret;