chiark / gitweb /
Disobedience login window now only remembers password etc if they
[disorder] / lib / configuration.c
index 241d101dc30efa6d131866802777656dcff5177f..540084cd0654cedd2f4beef276037d84feeabf99 100644 (file)
@@ -1213,7 +1213,7 @@ static struct config *config_default(void) {
   return c;
 }
 
-static char *get_file(struct config *c, const char *name) {
+char *config_get_file2(struct config *c, const char *name) {
   char *s;
 
   byte_xasprintf(&s, "%s/%s", c->home, name);
@@ -1411,7 +1411,7 @@ char *config_usersysconf(const struct passwd *pw) {
 }
 
 char *config_get_file(const char *name) {
-  return get_file(config, name);
+  return config_get_file2(config, name);
 }
 
 /*