Fix an infinite recursion bug
authorMikko Rasa <tdb@tdb.fi>
Mon, 10 Nov 2014 17:32:41 +0000 (19:32 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 10 Nov 2014 17:32:41 +0000 (19:32 +0200)
source/fs/dir.cpp

index 00385e0d52d5602251719da1f3dc61859ccaecec..df85e352ee78c05874b40ac6d406c421db816a04 100644 (file)
@@ -141,7 +141,7 @@ Path get_user_data_dir()
        const string &name = Application::get_name();
        if(name.empty())
                throw logic_error("application name not known");
-       return get_user_data_dir();
+       return get_user_data_dir(name);
 }
 
 Path get_sys_conf_dir(const string &argv0)