Ticket #1920: hdhr_control.diff

File hdhr_control.diff, 539 bytes (added by jwestfall@…, 18 years ago)
  • libs/libmythtv/hdhomerun/hdhomerun_control.c

     
    167167
    168168        memcpy(result->buffer, cs->rx_buffer, length);
    169169        if (rx_length > length) {
    170                 memcpy(cs->rx_buffer, cs->rx_buffer, rx_length - length);
     170                memcpy(cs->rx_buffer, cs->rx_buffer + length, rx_length - length);
    171171        }
    172172        cs->rx_pos = cs->rx_buffer + (rx_length - length);
    173173