Fix example code for msg size in programming guide.