summaryrefslogtreecommitdiff
path: root/srv.c
diff options
context:
space:
mode:
authorJames Golovich <james@gnuinter.net>2004-06-22 20:11:15 +0000
committerJames Golovich <james@gnuinter.net>2004-06-22 20:11:15 +0000
commit3f9c34f4152a9287419deb53bca8732ff056600e (patch)
treebffd10bbd58f5360e9fada3ea452b7a61dfac862 /srv.c
parent024f48681055f24f2ca528f94544d715f69357e4 (diff)
Misc formatting cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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;