[vlc-commits] ntservice: do not use MODULE_STRING

Rémi Denis-Courmont git at videolan.org
Sat Nov 18 20:43:15 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov 18 21:33:40 2017 +0200| [b8a7536f85cf945aec465b1f49504d679ff02ab1] | committer: Rémi Denis-Courmont

ntservice: do not use MODULE_STRING

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8a7536f85cf945aec465b1f49504d679ff02ab1
---

 modules/control/ntservice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/control/ntservice.c b/modules/control/ntservice.c
index eecfee8846..995aa9dbb2 100644
--- a/modules/control/ntservice.c
+++ b/modules/control/ntservice.c
@@ -194,7 +194,7 @@ static int NTServiceInstall( intf_thread_t *p_intf )
     /* Find out the filename of ourselves so we can install it to the
      * service control manager */
     GetModuleFileName( NULL, psz_pathtmp, MAX_PATH );
-    sprintf( psz_path, "\"%s\" -I "MODULE_STRING, FromT(psz_pathtmp) );
+    sprintf( psz_path, "\"%s\" -I ntservice", FromT(psz_pathtmp) );
 
     psz_extra = var_InheritString( p_intf, "ntservice-extraintf" );
     if( psz_extra && *psz_extra )



More information about the vlc-commits mailing list