mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Misc formatting cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
4
srv.c
4
srv.c
@@ -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;
|
||||
|
Reference in New Issue
Block a user