Removed the globals 'userid' and 'save_userid_local' variables

This is a preferences setting, it should belong to the preferences
structure.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-04-17 11:34:21 -03:00 committed by Dirk Hohndel
parent f14c14c383
commit 9598462830
9 changed files with 32 additions and 32 deletions

View file

@ -861,7 +861,7 @@ static void try_to_fill_sample(struct sample *sample, const char *name, char *bu
void try_to_fill_userid(const char *name, char *buf)
{
if (save_userid_local)
if (prefs.save_userid_local)
set_userid(buf);
}