comparison libpurple/protocols/msnp9/msn-utils.c @ 22383: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 a07cfce78345
children
comparison
equal deleted inserted replaced
22381:f56fb7858ecb 22383:50e5ac417035
161 *d++ = '0'; 161 *d++ = '0';
162 } 162 }
163 else 163 else
164 *d++ = *c; 164 *d++ = *c;
165 } 165 }
166 *d = '\0';
166 167
167 return buf; 168 return buf;
168 } 169 }
169 170
170 /* 171 /*