<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>While&nbsp;trying to compile the module radius_acc I get some warnings as 
follows:</DIV>
<DIV>&nbsp;</DIV>
<DIV>acc.c: In function `radius_log_reply':<BR>acc.c:142: warning: passing arg 1 
of `parse_from_header' from incompatible pointer type<BR>acc.c: In function 
`radius_log_ack':<BR>acc.c:426: warning: passing arg 1 of `parse_from_header' 
from incompatible pointer type<BR>acc.c: In function 
`rad_acc_request':<BR>acc.c:708: warning: passing arg 1 of `parse_from_header' 
from incompatible pointer type<BR></DIV>
<DIV>So I looked into the file acc.c and found such statements like</DIV>
<DIV>&nbsp;</DIV>
<DIV>if ( parse_from_header( msg )==-1 ) </DIV>
<DIV>&nbsp;</DIV>
<DIV>Because the function parse_from_header needs a parameter of type hdr_field, 
I changed the statements above&nbsp;to </DIV>
<DIV>&nbsp;</DIV>
<DIV>if ( parse_from_header( msg-&gt;headers )==-1 )</DIV>
<DIV>&nbsp;</DIV>
<DIV>after this the warnings don't appear any longer.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Is this change ok?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best Regards</DIV>
<DIV>&nbsp;</DIV>
<DIV>Yang</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>