On Wed, Feb 20, 2008 at 10:27:33AM -0800, Martin Knoblauch wrote:
> Hi,
>
> if you resend it as an attachment, I would apply the fix.
You can apply it with my blabbering at the beginning. :)
patch ignores the stuff before the ---
The patch is attached for your convenience.
>
> Cheers
> Martin
> PS: How is life at SGI nowadays?
Seems okay. I just got here recently. :)
mh
--- ganglia-3.0.6.200802141157/gmond/gmond.c 2008-02-14 14:58:58.000000000
-0500
+++ ganglia-3.0.6.200802141157.mod/gmond/gmond.c 2008-02-20
11:46:23.000000000 -0500
@@ -831,11 +831,13 @@ Ganglia_message_save( Ganglia_host *host
/* Copy in the data */
// Yemi
if(message->id == spoof_metric){
- // Store data as regular gmetric in hash table!!
+ /* Store data as regular gmetric in hash table!!
+ * Free the Spoof-related strings.
+ */
- metric->message.id = metric_user_defined;
+ metric->message.id = metric_user_defined;
metric->message.Ganglia_message_u.gmetric =
message->Ganglia_message_u.spmetric.gmetric;
-
+ xdr_free(xdr_Ganglia_spoof_header,
&message->Ganglia_message_u.spmetric.spheader);
}else{
memcpy(&(metric->message), message, sizeof(Ganglia_message));
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-developers