]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r23316: Ouch... This would not have run in production without cluster code
authorVolker Lendecke <vlendec@samba.org>
Sun, 3 Jun 2007 19:56:41 +0000 (19:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:06 +0000 (12:23 -0500)
anyway.

source/locking/brlock.c

index a50d4faa52a96ea0aa75df310bf17149dbe770e9..6713530738c6f246fa5703f5cd43d1348e31812b 100644 (file)
@@ -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;