Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 338909 | Differences between
and this patch

Collapse All | Expand All

(-)gnunet-0.9.0pre1/src/hostlist/hostlist-client.c (-12 / +12 lines)
Lines 1345-1354 Link Here
1345
  uint32_t counter;
1345
  uint32_t counter;
1346
1346
1347
  if (GNUNET_OK !=
1347
  if (GNUNET_OK !=
1348
      GNUNET_CONFIGURATION_get_value_string (cfg,
1348
      GNUNET_CONFIGURATION_get_value_filename (cfg,
1349
                                             "HOSTLIST",
1349
                                               "HOSTLIST",
1350
                                             "HOSTLISTFILE",
1350
                                               "HOSTLISTFILE",
1351
                                             &filename))
1351
                                               &filename))
1352
    {
1352
    {
1353
      GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
1353
      GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
1354
                  _("No `%s' specified in `%s' configuration, cannot load hostlists from file.\n"),
1354
                  _("No `%s' specified in `%s' configuration, cannot load hostlists from file.\n"),
Lines 1435-1444 Link Here
1435
  uint32_t counter;
1435
  uint32_t counter;
1436
1436
1437
  if (GNUNET_OK !=
1437
  if (GNUNET_OK !=
1438
      GNUNET_CONFIGURATION_get_value_string (cfg,
1438
      GNUNET_CONFIGURATION_get_value_filename (cfg,
1439
                                             "HOSTLIST",
1439
                                               "HOSTLIST",
1440
                                             "HOSTLISTFILE",
1440
                                               "HOSTLISTFILE",
1441
                                             &filename))
1441
                                               &filename))
1442
    {
1442
    {
1443
      GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
1443
      GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
1444
                  _("No `%s' specified in `%s' configuration, cannot save hostlists to file.\n"),
1444
                  _("No `%s' specified in `%s' configuration, cannot save hostlists to file.\n"),
Lines 1571-1580 Link Here
1571
    GNUNET_log (GNUNET_ERROR_TYPE_INFO,
1571
    GNUNET_log (GNUNET_ERROR_TYPE_INFO,
1572
              _("Learning is not enabled on this peer\n"));
1572
              _("Learning is not enabled on this peer\n"));
1573
    *msgh = NULL;
1573
    *msgh = NULL;
1574
    if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_string (cfg,
1574
    if (GNUNET_OK == GNUNET_CONFIGURATION_get_value_filename (cfg,
1575
                                                            "HOSTLIST",
1575
                                                              "HOSTLIST",
1576
                                                            "HOSTLISTFILE",
1576
                                                              "HOSTLISTFILE",
1577
                                                            &filename))
1577
                                                              &filename))
1578
    {
1578
    {
1579
    if ( GNUNET_YES == GNUNET_DISK_file_test (filename) )
1579
    if ( GNUNET_YES == GNUNET_DISK_file_test (filename) )
1580
      {
1580
      {

Return to bug 338909