Ensure we always send a '\0' at the end of the text (previous patch was wrong)
Authored by: corot 2011-03-29
Parent: [r128]
Child: [r130]