]> git.sesse.net Git - vlc/blobdiff - modules/services_discovery/sap.c
misc: use var_Inherit
[vlc] / modules / services_discovery / sap.c
index 1f1989941dbfb8caec9b0c04364b345ec5be70c7..03fe88732839a45897bf0552981dba7eb97d1953 100644 (file)
@@ -447,7 +447,7 @@ static void Close( vlc_object_t *p_this )
     FREENULL( p_sys->pi_fd );
 
 #if 0
-    if( config_GetInt( p_sd, "sap-cache" ) )
+    if( var_InheritBool( p_sd, "sap-cache" ) )
     {
         CacheSave( p_sd );
     }