comparison libpurple/protocols/msn/msnutils.c @ 22373:50e5ac417035

Patch from Qulogic that fixes #4951 by making sure that the buffer is NUL- terminated at the right place
author Ka-Hing Cheung <khc@hxbc.us>
date Fri, 29 Feb 2008 04:23:00 +0000
parents bc731b26335c
children 5cdd93dac7a2 44159acb7bb7
comparison
equal deleted inserted replaced
22371:f56fb7858ecb 22373:50e5ac417035
199 *d++ = '0'; 199 *d++ = '0';
200 } 200 }
201 else 201 else
202 *d++ = *c; 202 *d++ = *c;
203 } 203 }
204 *d = '\0';
204 205
205 return buf; 206 return buf;
206 } 207 }
207 208
208 /* 209 /*