/[radius]/radius/radiusd/checkrad.c
ViewVC logotype

Diff of /radius/radiusd/checkrad.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by gray, Sat Nov 8 09:48:10 2003 UTC revision 1.29 by gray, Wed Nov 26 21:06:55 2003 UTC
# Line 45  Line 45 
45  #include <radiusd.h>  #include <radiusd.h>
46  #include <radutmp.h>  #include <radutmp.h>
47  #include <checkrad.h>  #include <checkrad.h>
48    #include <rewrite.h>
49    
50  #include <asn1.h>  #include <asn1.h>
51  #include <snmp.h>  #include <snmp.h>
# Line 109  free_instance(struct check_instance *cpt Line 110  free_instance(struct check_instance *cpt
110  int  int
111  compare(struct check_instance *checkp, char *str)  compare(struct check_instance *checkp, char *str)
112  {  {
113          return rewrite_invoke(checkp->func, NULL,          UINT4 result;
114                                "ssis",          /* FIXME: what to do if invoke fails? */
115                                str,          rewrite_invoke(Integer, &result,
116                                checkp->name,                         checkp->func, NULL,
117                                checkp->port,                         "ssis",
118                                checkp->sid);                         str,
119                           checkp->name,
120                           checkp->port,
121                           checkp->sid);
122            return result;
123  }  }
124    
125    

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26