summaryrefslogtreecommitdiffstats
path: root/source/torture/locktest.c
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-12-03 10:37:03 -0800
committerKarolin Seeger <kseeger@samba.org>2008-12-11 10:27:14 +0100
commit29f2a6fd8aa91d585e96171475c6a44893e5d54b (patch)
tree559194cdf1435df2cb914839ef3e108491b4d0ac /source/torture/locktest.c
parentc0d3da886f05eca189192a1d18909371e724efc4 (diff)
downloadsamba-29f2a6fd8aa91d585e96171475c6a44893e5d54b.tar.gz
samba-29f2a6fd8aa91d585e96171475c6a44893e5d54b.tar.xz
samba-29f2a6fd8aa91d585e96171475c6a44893e5d54b.zip
Change sockaddr util function names for consistency and to eliminate name conflicts
(cherry picked from commit f2a3617778cab1695a09f065840907e1227b6d86)
Diffstat (limited to 'source/torture/locktest.c')
-rw-r--r--source/torture/locktest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/torture/locktest.c b/source/torture/locktest.c
index 2ba5ab8f06e..4ac0279b664 100644
--- a/source/torture/locktest.c
+++ b/source/torture/locktest.c
@@ -176,7 +176,7 @@ static struct cli_state *connect_one(char *share, int snum)
server_n = server;
- zero_addr(&ss);
+ zero_sockaddr(&ss);
slprintf(myname,sizeof(myname), "lock-%lu-%u", (unsigned long)getpid(), count++);
@@ -184,7 +184,7 @@ static struct cli_state *connect_one(char *share, int snum)
make_nmb_name(&called , server, 0x20);
again:
- zero_addr(&ss);
+ zero_sockaddr(&ss);
/* have to open a new connection */
if (!(c=cli_initialise())) {