summaryrefslogtreecommitdiff
path: root/source3/web
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/web
parent0159344d4c55d9bea7f7938b6a3e750177fe6108 (diff)
downloadsamba-73b200064fea77037f15cceeda303469b3e78624.tar.gz
s3:util: rename procid_equal() to serverid_equal()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/statuspage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/web/statuspage.c b/source3/web/statuspage.c
index dd83d158ae1..8eac8036d02 100644
--- a/source3/web/statuspage.c
+++ b/source3/web/statuspage.c
@@ -89,7 +89,7 @@ static char *mapPid2Machine (struct server_id pid)
/* show machine name rather PID on table "Open Files"? */
if (PID_or_Machine) {
for (map = pidmap; map != NULL; map = map->next) {
- if (procid_equal(&pid, &map->pid)) {
+ if (serverid_equal(&pid, &map->pid)) {
if (map->machine == NULL) /* no machine name */
break; /* show PID */
@@ -207,7 +207,7 @@ static int traverse_fn2(const struct connections_key *key,
void *private_data)
{
if (crec->cnum == TID_FIELD_INVALID || !process_exists(crec->pid) ||
- procid_equal(&crec->pid, &smbd_pid))
+ serverid_equal(&crec->pid, &smbd_pid))
return 0;
addPid2Machine (crec->pid, crec->machine);