[Mplayer-cvslog] CVS: main/libdha/dhahelperwin dhasetup.c,1.5,1.6

Sascha Sommer CVS syncmail at mplayerhq.hu
Sun May 9 19:29:42 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libdha/dhahelperwin
In directory mail:/var2/tmp/cvs-serv31561/libdha/dhahelperwin

Modified Files:
	dhasetup.c 
Log Message:
10l

Index: dhasetup.c
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/dhahelperwin/dhasetup.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- dhasetup.c	9 May 2004 16:36:58 -0000	1.5
+++ dhasetup.c	9 May 2004 17:29:40 -0000	1.6
@@ -21,9 +21,10 @@
   hSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
   if(!strcmp(argv[1],"install")){
     printf("Installing dhahelper...\n");
-    if(!CopyFile("dhahelper.sys",path,FALSE))
+    if(!CopyFile("dhahelper.sys",path,FALSE)){
       printf("Copying dhahelper.sys failed.\nEither dhahelper.sys is not in the current directory or you lack sufficient\nprivileges to write to %s.", path);
       return 1;
+    }
     // Install the driver
     hService = CreateService(hSCManager,
                              "DHAHELPER",
@@ -39,7 +40,7 @@
                              NULL,
                              NULL);
     if(!hService){
-      printf("Unable to register DHAHELPER Service (0x%x).\n",GetLastError());
+      printf("unable to register DHAHELPER Service (0x%x)\n",GetLastError());
     }
   }
   else if(!strcmp(argv[1],"remove")){




More information about the MPlayer-cvslog mailing list