Revision 0a40460a loop.c

View differences:

loop.c
47 47
  return -1;
48 48
}
49 49

  
50
void loop(struct nodeID *s, int csize)
50
void loop(struct nodeID *s, int csize, int buff_size)
51 51
{
52 52
  int done = 0;
53 53
#define BUFFSIZE 1024
......
58 58
  period.tv_usec = csize % 1000000;
59 59
  
60 60
  topParseData(NULL, 0);
61
  stream_init(8, s);
61
  stream_init(buff_size, s);
62 62
  while (!done) {
63 63
    int len;
64 64
    int fd;

Also available in: Unified diff