summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-06-03 19:56:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:06 -0500
commit86f0e0b3de0f5a32f44bef614f6859209d81f1a1 (patch)
tree2442803577e283277e02043444e5d410551309d5 /source3
parent5ddcf956516d5bedb4a6db05e2c836ef2b538473 (diff)
downloadsamba-86f0e0b3de0f5a32f44bef614f6859209d81f1a1.tar.gz
samba-86f0e0b3de0f5a32f44bef614f6859209d81f1a1.tar.bz2
samba-86f0e0b3de0f5a32f44bef614f6859209d81f1a1.zip
r23316: Ouch... This would not have run in production without cluster code
anyway. (This used to be commit ca1d0ff03d038372d5886ff1aa409494721142f4)
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/brlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index a50d4faa52..6713530738 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -1721,8 +1721,8 @@ static void brl_revalidate_collect(struct file_id id, struct server_id pid,
static int compare_procids(const void *p1, const void *p2)
{
- const struct server_id *i1 = (struct server_id *)i1;
- const struct server_id *i2 = (struct server_id *)i2;
+ const struct server_id *i1 = (struct server_id *)p1;
+ const struct server_id *i2 = (struct server_id *)p2;
if (i1->pid < i2->pid) return -1;
if (i2->pid > i2->pid) return 1;