commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1055353 - /commons/proper/daemon/trunk/src/native/windows/src/log.c
Date Wed, 05 Jan 2011 08:35:23 GMT
Author: mturk
Date: Wed Jan  5 08:35:23 2011
New Revision: 1055353

URL: http://svn.apache.org/viewvc?rev=1055353&view=rev
Log:
DAEMON-187 Do not display empty file names. This is just cleaning up the message box. Real
fix to follow

Modified:
    commons/proper/daemon/trunk/src/native/windows/src/log.c

Modified: commons/proper/daemon/trunk/src/native/windows/src/log.c
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/windows/src/log.c?rev=1055353&r1=1055352&r2=1055353&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/windows/src/log.c (original)
+++ commons/proper/daemon/trunk/src/native/windows/src/log.c Wed Jan  5 08:35:23 2011
@@ -421,7 +421,7 @@ apxDisplayError(
         va_start(args, szFormat);
         wvsprintfA(buffer, szFormat, args);
         va_end(args);
-        if (f) {
+        if (f && *f) {
             CHAR sb[SIZ_PATHLEN];
             wsprintfA(sb, "%s (%d)", f, dwLine);
             lstrcatA(sysbuf, sb);



Mime
View raw message