Pseudonym some more without DBG_DATA
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 24 Oct 2018 10:51:26 +0000 (12:51 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 24 Oct 2018 10:51:26 +0000 (12:51 +0200)
* src/oomhelp.cpp (get_sender_SentRepresentingAddress):
anonstr.
* src/mimemaker.cpp (write_part): Anonstr filename.

src/mimemaker.cpp
src/oomhelp.cpp

index 7adb25b..acec070 100644 (file)
@@ -901,7 +901,7 @@ write_part (sink_t sink, const char *data, size_t datalen,
 
   log_debug ("Writing part of length %d%s filename=`%s'\n",
              (int)datalen, is_mapibody? " (body)":"",
-             filename?filename:"[none]");
+             filename ? anonstr (filename) : "[none]");
 
   ct = infer_content_type (data, datalen, filename, is_mapibody, &use_b64);
   use_qp = 0;
index b859cb7..9ac1083 100644 (file)
@@ -2522,7 +2522,7 @@ get_sender_SentRepresentingAddress (LPDISPATCH mailitem)
   if (buf && strlen (buf))
     {
       log_debug ("%s:%s Found sent representing address \"%s\"",
-                 SRCNAME, __func__, buf);
+                 SRCNAME, __func__, anonstr (buf));
       TRETURN buf;
     }
   xfree (buf);