summaryrefslogtreecommitdiff
path: root/apps/drwho/Multicast_Manager.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-09-30 18:02:23 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-09-30 18:02:23 +0000
commit5e186ee504973367bfa2bc2ed1c80846b20c2df0 (patch)
treec8261b4e52aabe52cda51b0bf37afa4a43108142 /apps/drwho/Multicast_Manager.cpp
parent1a22fd7333b7ada277d71c7933916fd603546e2b (diff)
downloadATCD-5e186ee504973367bfa2bc2ed1c80846b20c2df0.tar.gz
.
Diffstat (limited to 'apps/drwho/Multicast_Manager.cpp')
-rw-r--r--apps/drwho/Multicast_Manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/drwho/Multicast_Manager.cpp b/apps/drwho/Multicast_Manager.cpp
index 445eac58b03..c3385b633d3 100644
--- a/apps/drwho/Multicast_Manager.cpp
+++ b/apps/drwho/Multicast_Manager.cpp
@@ -67,7 +67,7 @@ Multicast_Manager::get_next_host_addr (in_addr &host_addr)
Multicast_Manager::current_ptr != 0;
Multicast_Manager::current_ptr = Multicast_Manager::current_ptr->next)
{
- char *host_name = Multicast_Manager::current_ptr->host_name;
+ const char *host_name = Multicast_Manager::current_ptr->host_name;
hostent *hp = Multicast_Manager::get_host_entry (host_name);
if (hp == 0)
@@ -147,7 +147,7 @@ Multicast_Manager::checkoff_host (in_addr host_addr)
}
int
-Multicast_Manager::get_next_non_responding_host (char *&host_name)
+Multicast_Manager::get_next_non_responding_host (const char *&host_name)
{
for (Multicast_Manager::current_ptr = Multicast_Manager::current_ptr == 0 ? Multicast_Manager::drwho_list : Multicast_Manager::current_ptr->next;
Multicast_Manager::current_ptr != 0;