Patch for NRPE
Aaron Segura
Aaron.Segura at cabelas.com
Mon Jan 15 18:04:25 CET 2007
While attempting to compile NRPE (v2.6 / 12/11/2006) with the DEBUG
option today I think I found a small error in the code and have included
a patch to fix it.
This is for nrpe.c
1053,1056c1053,1056
< fp=fopen("/tmp/packet","w");
< if(fp){
< fwrite(&receive_packet,1,sizeof(receive_packet),fp);
< fclose(fp);
---
> errfp=fopen("/tmp/packet","w");
> if(errfp){
> fwrite(&receive_packet,1,sizeof(receive_packet),errfp);
> fclose(errfp);
I realize this is the "users" list. Sorry if this is the wrong place to
post it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070115/193a822d/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list