aboutsummaryrefslogtreecommitdiffstats
path: root/srv.c
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-22 20:11:15 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-22 20:11:15 +0000
commit899ce8fd6d00884844847794317e88d70eaec896 (patch)
treebffd10bbd58f5360e9fada3ea452b7a61dfac862 /srv.c
parent08d0c132c31ede086cc473d943aff80c76f47719 (diff)
Misc formatting cleanups
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3279 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'srv.c')
-rwxr-xr-xsrv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/srv.c b/srv.c
index 98df484dd..3d7030737 100755
--- a/srv.c
+++ b/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;