Reduce spammy trace output
authorAndre Heinecke <aheinecke@gnupg.org>
Wed, 27 Feb 2019 10:12:37 +0000 (11:12 +0100)
committerAndre Heinecke <aheinecke@gnupg.org>
Wed, 27 Feb 2019 10:12:37 +0000 (11:12 +0100)
* src/mapihelp.cpp (parse_headers_cb): Don't trace.

src/mapihelp.cpp

index 0d40664..57f10fb 100644 (file)
@@ -3095,18 +3095,17 @@ set_gpgol_draft_info_flags (LPMESSAGE message, int flags)
 /* Helper for mapi_get_msg_content_type() */
 static int
 parse_headers_cb (void *dummy_arg,
-                             rfc822parse_event_t event, rfc822parse_t msg)
+                  rfc822parse_event_t event, rfc822parse_t msg)
 {
-  TSTART;
   (void)dummy_arg;
   (void)msg;
 
   if (event == RFC822PARSE_T2BODY)
     {
-      TRETURN 42; /* Hack to stop the parsing after having read the
+      return 42; /* Hack to stop the parsing after having read the
                      outer headers. */
     }
-  TRETURN 0;
+  return 0;
 }