View | Details | Raw Unified | Return to ticket 9122
Collapse All | Expand All

(-)a/src/slurmrestd/conmgr.c (-2 / +1 lines)
Lines 742-748 static void _handle_write(void *x) Link Here
742
		 * not all data written, need to shift it to start of
742
		 * not all data written, need to shift it to start of
743
		 * buffer and fix offset
743
		 * buffer and fix offset
744
		 */
744
		 */
745
		memcpy(get_buf_data(con->out), (get_buf_data(con->out) + wrote),
745
		memmove(get_buf_data(con->out), (get_buf_data(con->out) + wrote),
746
		       (get_buf_offset(con->out) - wrote));
746
		       (get_buf_offset(con->out) - wrote));
747
747
748
		/* reset start of offset to end of previous data */
748
		/* reset start of offset to end of previous data */
749
- 

Return to ticket 9122