fix typo in prev. commit
authorRobin Gareus <robin@gareus.org>
Mon, 5 Oct 2015 20:41:37 +0000 (22:41 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 5 Oct 2015 20:42:01 +0000 (22:42 +0200)
libs/ardour/plugin_manager.cc

index 72ee2745a43ff5c6aab4e02a0199984e8264b91a..9ffab34a18afbef7e8f167f351b1057543667ce0 100644 (file)
@@ -268,7 +268,7 @@ PluginManager::refresh (bool cache_only)
                        string fn = Glib::build_filename (ARDOUR::user_cache_directory(), VST_BLACKLIST);
                        if (Glib::file_test (fn, Glib::FILE_TEST_EXISTS)) {
                                gchar *bl = NULL;
-                               if (g_file_get_contents(fn.c_str (), bl, NULL, NULL)) {
+                               if (g_file_get_contents(fn.c_str (), &bl, NULL, NULL)) {
                                        PBD::info << _("VST Blacklist:") << "\n" << bl << "-----" << endmsg;
                                        g_free (bl);
                                }