chiark / gitweb /
provide errorCode for invalid reverse addrs
authorian <ian>
Mon, 16 Jan 2006 00:25:22 +0000 (00:25 +0000)
committerian <ian>
Mon, 16 Jan 2006 00:25:22 +0000 (00:25 +0000)
adns/adns.c

index 2ff423e..30d036b 100644 (file)
@@ -469,7 +469,8 @@ static int query_submit(Tcl_Interp *ip,
       r= inet_pton(*af,domain,&sa);
       if (!r) goto af_found;
     }
-    return cht_staticerr(ip,"invalid address for adns reverse submit","");
+    return cht_staticerr(ip,"invalid address for adns reverse submit",
+                        "ADNS REVERSE INVALID");
   af_found:;
   }