--- a/project_files/hwc/rtl/misc.c Wed Apr 13 20:02:14 2016 -0400 +++ b/project_files/hwc/rtl/misc.c Mon Apr 18 21:47:39 2016 +0300 @@ -78,8 +78,8 @@ { if(s.len < MAX_ANSISTRING_LENGTH) { + ++s.len; s.s[s.len] = c; - ++s.len; } return s;