From 182ed7c8a7a91cdcfd1512455a0256dd7ea8dfab Mon Sep 17 00:00:00 2001 From: schnorr Date: Fri, 23 Mar 2012 14:38:46 +0100 Subject: [PATCH] improve documentation for MSG_host_is_avail --- src/msg/msg_host.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/msg/msg_host.c b/src/msg/msg_host.c index 0dfb1006fe..4518064857 100644 --- a/src/msg/msg_host.c +++ b/src/msg/msg_host.c @@ -240,9 +240,10 @@ xbt_dict_t MSG_host_get_properties(m_host_t host) /** \ingroup msg_gos_functions * \brief Determine if a host is available. * - * \param h host to test + * \param host host to test + * \return Returns 1 if host is available, 0 otherwise */ -int MSG_host_is_avail(m_host_t h) +int MSG_host_is_avail(m_host_t host) { xbt_assert((h != NULL), "Invalid parameters (host is NULL)"); return (simcall_host_get_state(h->simdata->smx_host)); -- 2.20.1