From b6b2253da1ac6c2379fbd8571a6d2d28d9038c43 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 17 Jun 2015 21:07:40 +0200 Subject: [PATCH] skip username metadata when dumping default cfg --- cfgtool/cfgtool.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cfgtool/cfgtool.cc b/cfgtool/cfgtool.cc index 23f7369f52..3492f8b035 100644 --- a/cfgtool/cfgtool.cc +++ b/cfgtool/cfgtool.cc @@ -37,6 +37,9 @@ int main (int argc, char **argv) { cfg->remove_nodes_and_delete ("name", "updates-url"); cfg->remove_nodes_and_delete ("name", "freesound-download-dir"); // user specific + XMLNode* meta = state.child ("Metadata"); + meta->remove_nodes ("user_name"); + XMLTree tree; tree.set_root (&state);