X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fdomain.c;h=a1049537c3a446e08dab5383db92cbf39bde743f;hp=0522c17fdf4e5a8c091aac3f16af5a7cad99e4b6;hb=f1ee61891901850ebbdee1e9440b363dc6df540a;hpb=2d03b6864a657a706b8d2917d912e579b2298025 diff --git a/citadel/domain.c b/citadel/domain.c index 0522c17fd..a1049537c 100644 --- a/citadel/domain.c +++ b/citadel/domain.c @@ -1,9 +1,9 @@ /* * DNS lookup for SMTP sender * - * Copyright (c) 1987-2009 by the citadel.org team + * Copyright (c) 1987-2011 by the citadel.org team * - * This program is free software; you can redistribute it and/or modify + * This program is open source software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. @@ -24,6 +24,7 @@ #include #include #include +#include #ifdef HAVE_RESOLV_H #include @@ -160,7 +161,7 @@ int getmx(char *mxbuf, char *dest) { for (qdcount = ntohs(answer.header.qdcount); qdcount--; ptr += ret + QFIXEDSZ) { if ((ret = dn_skipname(ptr, endptr)) < 0) { - CtdlLogPrintf(CTDL_DEBUG, "dn_skipname error\n"); + syslog(LOG_DEBUG, "dn_skipname error\n"); return(0); } }