Author: vlendec
Date: 2007-06-03 19:56:41 +0000 (Sun, 03 Jun 2007)
New Revision: 23316

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23316

Log:
Ouch... This would not have run in production without cluster code
anyway.

Modified:
   branches/SAMBA_3_0/source/locking/brlock.c
   branches/SAMBA_3_0_26/source/locking/brlock.c


Changeset:
Modified: branches/SAMBA_3_0/source/locking/brlock.c
===================================================================
--- branches/SAMBA_3_0/source/locking/brlock.c  2007-06-03 16:21:40 UTC (rev 
23315)
+++ branches/SAMBA_3_0/source/locking/brlock.c  2007-06-03 19:56:41 UTC (rev 
23316)
@@ -1721,8 +1721,8 @@
 
 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;

Modified: branches/SAMBA_3_0_26/source/locking/brlock.c
===================================================================
--- branches/SAMBA_3_0_26/source/locking/brlock.c       2007-06-03 16:21:40 UTC 
(rev 23315)
+++ branches/SAMBA_3_0_26/source/locking/brlock.c       2007-06-03 19:56:41 UTC 
(rev 23316)
@@ -1721,8 +1721,8 @@
 
 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;

Reply via email to