aboutsummaryrefslogtreecommitdiffstats
path: root/save-git.c
diff options
context:
space:
mode:
Diffstat (limited to 'save-git.c')
-rw-r--r--save-git.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/save-git.c b/save-git.c
index 76175a197..e418b9830 100644
--- a/save-git.c
+++ b/save-git.c
@@ -681,8 +681,8 @@ static struct dir *mktree(struct dir *dir, const char *fmt, ...)
static void save_userid(void *_b)
{
struct membuffer *b = _b;
- if (save_userid_local)
- put_format(b, "userid %30s", userid);
+ if (prefs.save_userid_local)
+ put_format(b, "userid %30s", prefs.userid);
}
static void save_one_device(void *_b, const char *model, uint32_t deviceid,