<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Lucida Console";
panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>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.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>This is for nrpe.c<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>1053,1056c1053,1056<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><
fp=fopen("/tmp/packet","w");<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><
if(fp){<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><
fwrite(&receive_packet,1,sizeof(receive_packet),fp);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><
fclose(fp);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>---<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>>
errfp=fopen("/tmp/packet","w");<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>>
if(errfp){<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>>
fwrite(&receive_packet,1,sizeof(receive_packet),errfp);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'>>
fclose(errfp);<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="Lucida Console"><span style='font-size:
10.0pt;font-family:"Lucida Console"'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I realize this is the “users” list. Sorry
if this is the wrong place to post it.<o:p></o:p></span></font></p>
</div>
</body>
</html>