racuna1/ser334-public

Unit CP3: Miss-typing in code_samples/CP3_String/string.c, line19&line24

luckydoglou opened this issue · 1 comments

In Code_Sample folder, CP3_String folder, string.c file:
Line 19 should be: s->contents = malloc(s->length);
Line 24 should be: s->contents[i] = str[i];

Fixed in c09fd72.