fix FTBFS

This commit is contained in:
Marcello Stanisci 2019-06-30 20:50:05 +02:00
parent e9f43adb5b
commit 00817ba528
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -787,8 +787,8 @@ main (int argc,
TALER_LOG_ERROR ("Unknown mode given: '%s'\n", mode_str); TALER_LOG_ERROR ("Unknown mode given: '%s'\n", mode_str);
return BAD_CONFIG_FILE; return BAD_CONFIG_FILE;
} }
if (NULL == cfgfile) if (NULL == cfg_filename)
cfgfile = GNUNET_strdup (GNUNET_OS_project_data_get ()->user_config_file); cfg_filename = GNUNET_strdup (GNUNET_OS_project_data_get ()->user_config_file);
cfg = GNUNET_CONFIGURATION_create (); cfg = GNUNET_CONFIGURATION_create ();
if (GNUNET_OK != if (GNUNET_OK !=
GNUNET_CONFIGURATION_load (cfg, GNUNET_CONFIGURATION_load (cfg,