Yes, and ```xmppStreamError()``` not ```const``` also. I can fix all three functions, but changing signatures AFAIK may break binary compatibility. So, if you think it's a good idea - I can fix.