ProjectSkyfire/SkyFireEMU — comment on commit 78c472c345190732009db1b98f42c750cc76d3b2
File:  line 0
By Zakamurite:

You can't simply change i++ to ++i
For example, this logic is now broken

uint8 i = 0;
- host.assign(tokens[i++]);
- port_or_socket.assign(tokens[i++]);
- user.assign(tokens[i++]);
- password.assign(tokens[i++]);
- database.assign(tokens[i++]);

+ host.assign(tokens[++i]);
+ port_or_socket.assign(tokens[++i]);
+ user.assign(tokens[++i]);
+ password.assign(tokens[++i]);
+ database.assign(tokens[++i]);

was host.assign(0); now host.assign(1);

int j = i++; is equal to int j = i; i = i + 1;
int j = ++i; is equal to i = i + 1; int j = i;