X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fpreferences.c;fp=webcit%2Fpreferences.c;h=9ed1f830cb7ce2e72371b3a462bf896d5c2629fb;hb=6984213c936384e82cca051f017f0cacda0cd066;hp=02b9102b5872c9b4a8ef7baa21b016f4fbc57150;hpb=eebc13c848b76515e0bf3559648f332be932ad35;p=citadel.git diff --git a/webcit/preferences.c b/webcit/preferences.c index 02b9102b5..9ed1f830c 100644 --- a/webcit/preferences.c +++ b/webcit/preferences.c @@ -108,7 +108,7 @@ void GetPrefTypes(HashList *List) Pref->Type = PrefType; Pref->eFlatPrefType = Pref->Type->eType; - syslog(1, "Loading [%s]with type [%ld] [\"%s\"]\n", + syslog(1, "Loading [%s]with type [%d] [\"%s\"]\n", ChrPtr(Pref->Key), Pref->Type->eType, ChrPtr(Pref->Val)); @@ -537,7 +537,7 @@ void set_preference_backend(const char *key, size_t keylen, Pref->Type = PrefType; Pref->eFlatPrefType = PrefType->eType; if (Pref->Type->eType != lPrefType) - syslog(1, "warning: saving preference with wrong type [%s] %ld != %ld \n", + syslog(1, "warning: saving preference with wrong type [%s] %d != %ld \n", key, Pref->Type->eType, lPrefType); switch (Pref->Type->eType) {