Revision 176b8de8 src/Chunkiser/input-stream-udp.c

View differences:

src/Chunkiser/input-stream-udp.c
21 21

  
22 22
#include "int_coding.h"
23 23
#include "payload.h"
24
#include "config.h"
24
#include "grapes_config.h"
25 25
#include "chunkiser_iface.h"
26 26

  
27 27
#define UDP_PORTS_NUM_MAX 10
......
90 90
  int i = 0;
91 91
  struct tag *cfg_tags;
92 92

  
93
  cfg_tags = config_parse(config);
93
  cfg_tags = grapes_config_parse(config);
94 94
  if (cfg_tags) {
95 95
    int j;
96 96

  
......
98 98
      char tag[8];
99 99

  
100 100
      sprintf(tag, "port%d", j);
101
      if (config_value_int(cfg_tags, tag, &res[i])) {
101
      if (grapes_config_value_int(cfg_tags, tag, &res[i])) {
102 102
        i++;
103 103
      }
104 104
    }

Also available in: Unified diff