diff options
Diffstat (limited to 'streaming/receiver.c')
-rw-r--r-- | streaming/receiver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/receiver.c b/streaming/receiver.c index 98fe87f887..9577e85677 100644 --- a/streaming/receiver.c +++ b/streaming/receiver.c @@ -181,7 +181,7 @@ static char *receiver_next_line(struct receiver_state *r, int *pos) { r->read_buffer[scan] = 0; return &r->read_buffer[start]; } - memcpy(r->read_buffer, &r->read_buffer[start], r->read_len - start); + memmove(r->read_buffer, &r->read_buffer[start], r->read_len - start); r->read_len -= start; return NULL; } |