Revision 03de31e0 loop.c

View differences:

loop.c
109 109
  }
110 110
}
111 111

  
112
void source_loop(const char *fname, struct nodeID *s, int csize, int chunks, bool loop, int buff_size)
112
void source_loop(const char *fname, struct nodeID *s, int csize, int chunks, int buff_size)
113 113
{
114 114
  int done = 0;
115 115
  static uint8_t buff[BUFFSIZE];
......
122 122
  
123 123
  peers_init();
124 124

  
125
  if (source_init(fname, s, loop, fds, FDSSIZE, buff_size) < 0) {
125
  if (source_init(fname, s, fds, FDSSIZE, buff_size) < 0) {
126 126
    fprintf(stderr,"Cannot initialize source, exiting");
127 127
    return;
128 128
  }

Also available in: Unified diff