summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-16 00:26:26 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-21 08:27:32 +0200
commit73b200064fea77037f15cceeda303469b3e78624 (patch)
treebaba4f462d2b86065daab4e5332db832830408e7 /source3/utils
parent0159344d4c55d9bea7f7938b6a3e750177fe6108 (diff)
downloadsamba-73b200064fea77037f15cceeda303469b3e78624.tar.gz
samba-73b200064fea77037f15cceeda303469b3e78624.tar.bz2
samba-73b200064fea77037f15cceeda303469b3e78624.zip
s3:util: rename procid_equal() to serverid_equal()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_status.c2
-rw-r--r--source3/utils/status.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_status.c b/source3/utils/net_status.c
index 85d023505e..c96730f1c1 100644
--- a/source3/utils/net_status.c
+++ b/source3/utils/net_status.c
@@ -152,7 +152,7 @@ static int show_share_parseable(const struct connections_key *key,
for (i=0; i<ids->num_entries; i++) {
struct server_id id = ids->entries[i].pid;
- if (procid_equal(&id, &crec->pid)) {
+ if (serverid_equal(&id, &crec->pid)) {
guest = false;
break;
}
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 5ff4c31470..3d16f8e3e7 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -88,7 +88,7 @@ static unsigned int Ucrit_checkPid(struct server_id pid)
return 1;
for (i=0;i<Ucrit_MaxPid;i++) {
- if (procid_equal(&pid, &Ucrit_pid[i])) {
+ if (serverid_equal(&pid, &Ucrit_pid[i])) {
return 1;
}
}