Revision 45c3eb04 streaming.c

View differences:

streaming.c
126 126
  struct chunk_attributes * ca;
127 127

  
128 128
  if (!c->attributes || c->attributes_size != sizeof(struct chunk_attributes)) {
129
    fprintf(stderr,"Warning, chunk %d with strange attributes block\n", c->id);
129
    fprintf(stderr,"Warning, chunk %d with strange attributes block. Size:%d expected:%d\n", c->id, c->attributes ? c->attributes_size : 0, sizeof(struct chunk_attributes));
130 130
    return -1;
131 131
  }
132 132

  
......
139 139
  struct chunk_attributes * ca;
140 140

  
141 141
  if (!c->attributes || c->attributes_size != sizeof(struct chunk_attributes)) {
142
    fprintf(stderr,"Warning, received chunk %d with strange attributes block\n", c->id);
142
    fprintf(stderr,"Warning, received chunk %d with strange attributes block. Size:%d expected:%d\n", c->id, c->attributes ? c->attributes_size : 0, sizeof(struct chunk_attributes));
143 143
    return;
144 144
  }
145 145

  

Also available in: Unified diff