Vincent Povirk : oleaut32: Limit the number of arguments traced.

Alexandre Julliard julliard at winehq.org
Wed Apr 7 11:56:08 CDT 2010


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Tue Apr  6 14:37:57 2010 -0500

oleaut32: Limit the number of arguments traced.

---

 dlls/oleaut32/typelib.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 468f001..fd7d761 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -5703,7 +5703,8 @@ _invoke(FARPROC func,CALLCONV callconv, int nrargs, DWORD *args) {
     if (TRACE_ON(ole)) {
 	int i;
 	TRACE("Calling %p(",func);
-	for (i=0;i<nrargs;i++) TRACE("%08x,",args[i]);
+	for (i=0;i<min(nrargs,30);i++) TRACE("%08x,",args[i]);
+	if (nrargs > 30) TRACE("...");
 	TRACE(")\n");
     }
 




More information about the wine-cvs mailing list