]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/hostmask.c
[ratbox3 svn r26284 by androsyn] spew the libratbox version info on -version and...
[irc/rqf/shadowircd.git] / src / hostmask.c
index a0a193d5c7375f26b39c12c1e913aa1b1c3fdfa6..aba22779341c00a9f0a5a198dd173d99d0bafd51 100644 (file)
@@ -446,7 +446,6 @@ find_exact_conf_by_address(const char *address, int type, const char *username)
 
        if(address == NULL)
                address = "/NOMATCH!/";
-       arec = rb_malloc(sizeof(struct AddressRec));
        masktype = parse_netmask(address, (struct sockaddr *)&addr, &bits);
 #ifdef RB_IPV6
        if(masktype == HM_IPV6)
@@ -704,7 +703,7 @@ show_iline_prefix(struct Client *sptr, struct ConfItem *aconf, char *name)
 void
 report_auth(struct Client *client_p)
 {
-       char *name, *host, *pass = "*", *user, *classname;
+       char *name, *host, *pass, *user, *classname;
        struct AddressRec *arec;
        struct ConfItem *aconf;
        int i, port;