winemapi: List ignored attachments

André Hentschel nerv at dawncrow.de
Wed Dec 12 13:14:36 CST 2012


---
 dlls/winemapi/sendmail.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dlls/winemapi/sendmail.c b/dlls/winemapi/sendmail.c
index e017e2c..f07a7fe 100644
--- a/dlls/winemapi/sendmail.c
+++ b/dlls/winemapi/sendmail.c
@@ -155,7 +155,12 @@ ULONG WINAPI MAPISendMail(LHANDLE session, ULONG_PTR uiparam,
     }
 
     if (message->nFileCount)
-        FIXME("Ignoring attachments\n");
+    {
+        FIXME("Ignoring %u attachments:\n", message->nFileCount);
+        for (i = 0; i < message->nFileCount; i++)
+            FIXME("\t%s (%s)\n", (message->lpFiles[i].lpszPathName),
+                  debugstr_a(message->lpFiles[i].lpszFileName));
+    }
 
     /* Escape subject and body */
     subject = escape_string(message->lpszSubject, empty_string);
-- 
1.8.0


-- 

Best Regards, André Hentschel


More information about the wine-patches mailing list