X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=etc%2Fcnid_dbd%2Fdbd_resolve.c;h=20ff8f7be1eb68694fa4efe60d1ef2bac590036b;hb=f254fd618b53e97cc5382b23709d4f3de1e70b41;hp=17a42de0ff1a5f362885edd4826fd9bbbc6e0521;hpb=55c0d6d753dc022689616dedf38523e8388d4fd2;p=netatalk.git diff --git a/etc/cnid_dbd/dbd_resolve.c b/etc/cnid_dbd/dbd_resolve.c index 17a42de0..20ff8f7b 100644 --- a/etc/cnid_dbd/dbd_resolve.c +++ b/etc/cnid_dbd/dbd_resolve.c @@ -1,5 +1,4 @@ /* - * $Id: dbd_resolve.c,v 1.4 2009-05-06 11:54:24 franklahm Exp $ * * Copyright (C) Joerg Lenneis 2003 * All Rights Reserved. See COPYING. @@ -12,8 +11,9 @@ #include #include #include -#include -#include +#include + +#include #include "dbif.h" #include "dbd.h" @@ -53,8 +53,8 @@ int dbd_resolve(DBD *dbd, struct cnid_dbd_rqst *rqst, struct cnid_dbd_rply *rply rply->namelen = data.size; rply->name = (char *)data.data; - LOG(log_debug, logtype_cnid, "dbd_resolve: Resolving CNID %u to did %u name %s", - ntohl(rqst->cnid), ntohl(rply->did), rply->name); + LOG(log_debug, logtype_cnid, "dbd_resolve(CNID: %u): did: %u, name: \"%s\"", + ntohl(rqst->cnid), ntohl(rply->did), rply->name + CNID_NAME_OFS); rply->result = CNID_DBD_RES_OK; return 1;