From 624ee3c98a088bac68cd81cdaeab7f305fda4328 Mon Sep 17 00:00:00 2001 From: Mike Hibler Date: Thu, 2 Aug 2007 15:08:14 +0000 Subject: [PATCH] Fix typo in comment, modify a debug statement --- event/delay-agent/callback.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/event/delay-agent/callback.c b/event/delay-agent/callback.c index 7f4338a2b..8e7da23d6 100644 --- a/event/delay-agent/callback.c +++ b/event/delay-agent/callback.c @@ -1,6 +1,6 @@ /* * EMULAB-COPYRIGHT - * Copyright (c) 2000-2003, 2006 University of Utah and the Flux Group. + * Copyright (c) 2000-2003, 2006, 2007 University of Utah and the Flux Group. * All rights reserved. */ @@ -174,7 +174,7 @@ void handle_link_modify(char * linkname, int l_index, info("recd. MODIFY event for link = %s\n", linkname); /* - * As a convience to the user, we create virt_agents entries + * As a convenience to the user, we create virt_agents entries * for each "link-vnode" so that users can talk to a specific * side of a duplex link, or a specific node in a lan (in which * case it refers to both pipes, not just one). Look at the @@ -416,7 +416,9 @@ void set_link_params(int l_index, int blackhole, int p_which) structpipe_params *p_params = &(link_map[l_index].params[p_index]); - info("entered the loop, pindex = %d\n", p_index); + if (debug) + info("entered the loop, pindex=%d, pipe=%d\n", + p_index, link_map[l_index].pipes[p_index]); memset(&pipe, 0, sizeof pipe); -- GitLab