[Mplayer-cvslog] CVS: main/loader module.c,1.12,1.13

Alex Beregszaszi alex at mplayerhq.hu
Mon Nov 25 17:29:34 CET 2002


Update of /cvsroot/mplayer/main/loader
In directory mail:/var/tmp.root/cvs-serv1272

Modified Files:
	module.c 
Log Message:
some extra debugging

Index: module.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/module.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- module.c	24 Nov 2002 22:26:43 -0000	1.12
+++ module.c	25 Nov 2002 16:29:30 -0000	1.13
@@ -55,7 +55,7 @@
 WINE_MODREF* MODULE_FindModule(LPCSTR m)
 {
     modref_list* list=local_wm;
-    TRACE("Module %s request\n", m);
+    TRACE("FindModule: Module %s request\n", m);
     if(list==NULL)
 	return NULL;
 //    while(strcmp(m, list->wm->filename))
@@ -104,16 +104,22 @@
 WINE_MODREF *MODULE32_LookupHMODULE(HMODULE m)
 {
     modref_list* list=local_wm;
-    TRACE("Module %X request\n", m);
+    TRACE("LookupHMODULE: Module %X request\n", m);
     if(list==NULL)
+    {
+	TRACE("LookupHMODULE failed\n");
 	return NULL;
+    }
     while(m!=list->wm->module)
     {
 //      printf("Checking list %X wm %X module %X\n",
 //	list, list->wm, list->wm->module);
 	list=list->prev;
 	if(list==NULL)
+	{
+	    TRACE("LookupHMODULE failed\n");
 	    return NULL;
+	}
     }
     TRACE("LookupHMODULE hit %p\n", list->wm);
     return list->wm;




More information about the MPlayer-cvslog mailing list