summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-16 00:07:16 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-21 08:27:31 +0200
commit1eacf3a66f44be94b345813ae667d5b3a36701b4 (patch)
tree9520702a0e5b6e6a5a53e51f82598fdad2dec868
parent53cfde7204f7bb372f62cefd827762c6880ea345 (diff)
downloadsamba-1eacf3a66f44be94b345813ae667d5b3a36701b4.tar.gz
samba-1eacf3a66f44be94b345813ae667d5b3a36701b4.tar.bz2
samba-1eacf3a66f44be94b345813ae667d5b3a36701b4.zip
s3:smbstatus: use procid_equal() instead of equivalent cluster_id_equal()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/utils/status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index a6e8055062..5ff4c31470 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -88,8 +88,9 @@ static unsigned int Ucrit_checkPid(struct server_id pid)
return 1;
for (i=0;i<Ucrit_MaxPid;i++) {
- if (cluster_id_equal(&pid, &Ucrit_pid[i]))
+ if (procid_equal(&pid, &Ucrit_pid[i])) {
return 1;
+ }
}
return 0;