Revision 4bb789ed streaming.c

View differences:

streaming.c
57 57
  int res;
58 58
  struct chunk c;
59 59

  
60
  input_get(input, &c);
60
  if (input_get(input, &c) <= 0) {
61
    fprintf(stderr, "Error in input!\n");
62
    exit(-1);
63
  }
61 64
  res = cb_add_chunk(cb, &c);
62 65
  if (res < 0) {
63 66
    free(c.data);

Also available in: Unified diff