more sequence/order of operations stuff

This commit is contained in:
DarthArgus
2015-10-13 11:36:05 -05:00
parent a790a1a88d
commit 2a2b6dd4b7
5 changed files with 22 additions and 9 deletions
@@ -21,9 +21,12 @@ class CTServiceWebAPITransaction
target[0] = 0;
return;
}
int offset = 0;
while (offset < length && (target[offset++] = source[offset]));
target[length-1] = 0;
while (offset < length && (target[(offset+1)] = source[offset])) {
target[length-1] = 0;
offset++;
}
}
typedef unsigned short uchar_t;