Revision 176b8de8 src/PeerSet/peerset_ops.c

View differences:

src/PeerSet/peerset_ops.c
15 15
#include "peerset.h"
16 16
#include "chunkidset.h"
17 17
#include "net_helper.h"
18
#include "config.h"
18
#include "grapes_config.h"
19 19

  
20 20
#define DEFAULT_SIZE_INCREMENT 32
21 21

  
......
69 69
    return NULL;
70 70
  }
71 71
  p->n_elements = 0;
72
  cfg_tags = config_parse(config);
72
  cfg_tags = grapes_config_parse(config);
73 73
  if (!cfg_tags) {
74 74
    free(p);
75 75
    return NULL;
76 76
  }
77
  res = config_value_int(cfg_tags, "size", &p->size);
77
  res = grapes_config_value_int(cfg_tags, "size", &p->size);
78 78
  if (!res) {
79 79
    p->size = 0;
80 80
  }

Also available in: Unified diff