X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserv_vcard.c;h=800dfcabb9b21e0858431ab0906a47a4640554d4;hb=2e5bfef2c1708874507a51c9469b2c181b5523f4;hp=c1c30c670572f9d49cfd26e4dfb150fd499e47fa;hpb=5629373d62f7a65f9bbef3a0b664cfc7ee598482;p=citadel.git diff --git a/citadel/serv_vcard.c b/citadel/serv_vcard.c index c1c30c670..800dfcabb 100644 --- a/citadel/serv_vcard.c +++ b/citadel/serv_vcard.c @@ -146,18 +146,19 @@ void vcard_directory_add_user(char *internet_addr, char *citadel_addr) { * probably just the networker or something. */ if (CC->logged_in) { - lprintf(9, "Checking for <%s>...\n", internet_addr); + lprintf(CTDL_DEBUG, "Checking for <%s>...\n", internet_addr); if (CtdlDirectoryLookup(buf, internet_addr) == 0) { if (strcasecmp(buf, citadel_addr)) { /* This address belongs to someone else. * Bail out silently without saving. */ - lprintf(9, "DOOP!\n"); + lprintf(CTDL_DEBUG, "DOOP!\n"); return; } } } - lprintf(9, "ADDING!\n"); + lprintf(CTDL_INFO, "Adding %s (%s) to directory\n", + citadel_addr, internet_addr); CtdlDirectoryAddUser(internet_addr, citadel_addr); } @@ -778,7 +779,7 @@ void vcard_create_room(void) /* Set expiration policy to manual; otherwise objects will be lost! */ if (lgetroom(&qr, USERCONTACTSROOM)) { - lprintf(3, "Couldn't get the user CONTACTS room!\n"); + lprintf(CTDL_ERR, "Couldn't get the user CONTACTS room!\n"); return; } qr.QRep.expire_mode = EXPIRE_MANUAL;