whitespace around operators for these next few lines:

```
    str->buf[i] = str->buf[j];
```