> You of course mean to say data_coding != 0x01, right ? Ah yes .. much better ;-)
> and how do you know that the last char is a null ? I don't think it is. Just a guess - I have \0 at the end of each message comming through without doing the ocstr_truncate on last char. Or does this sound like smsc weirdness?