=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: localspl: Fix printing a NULL string .

Alexandre Julliard julliard at winehq.org
Thu Sep 1 11:55:57 CDT 2011


Module: wine
Branch: master
Commit: 975d9ed97af55a26a0ddfbb0a422c783fbffedd7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=975d9ed97af55a26a0ddfbb0a422c783fbffedd7

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Aug 31 20:07:31 2011 +0200

localspl: Fix printing a NULL string.

---

 dlls/localspl/provider.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/localspl/provider.c b/dlls/localspl/provider.c
index 3224188..848d11e 100644
--- a/dlls/localspl/provider.c
+++ b/dlls/localspl/provider.c
@@ -1678,7 +1678,7 @@ static BOOL WINAPI fpAddPortEx(LPWSTR pName, DWORD level, LPBYTE pBuffer, LPWSTR
     else
     {
         FIXME("not implemented for %s (monitor %p: %s)\n",
-            debugstr_w(pMonitorName), pm, pm ? debugstr_w(pm->dllname) : NULL);
+            debugstr_w(pMonitorName), pm, pm ? debugstr_w(pm->dllname) : "(null)");
             SetLastError(ERROR_INVALID_PARAMETER);
             res = FALSE;
     }




More information about the wine-cvs mailing list