Changeset 22702 in vbox for trunk/src/VBox/Main
- Timestamp:
- Sep 2, 2009 10:16:24 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 51819
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/com.cpp
r22700 r22702 48 48 #include <iprt/env.h> 49 49 #include <iprt/string.h> 50 #include <iprt/log.h>51 50 52 51 #include <VBox/err.h> 53 52 53 #include <Logging.h> 54 54 55 55 #ifdef RT_OS_DARWIN … … 208 208 void LogRef(const char *pcszFormat, ...) 209 209 { 210 va_list va; 211 va_start(va, pcszFormat); 212 va_end(va); 213 214 char *psz = NULL; 215 RTStrAPrintfV(&psz, pcszFormat, va); 216 LogDJ((psz)); 217 RTStrFree(psz); 210 char *pszNewMsg; 211 va_list args; 212 va_start(args, pcszFormat); 213 RTStrAPrintfV(&pszNewMsg, pcszFormat, args); 214 LogDJ((pszNewMsg)); 215 RTStrFree(pszNewMsg); 216 va_end(args); 218 217 } 219 218
Note:
See TracChangeset
for help on using the changeset viewer.