diff libpurple/protocols/msn/state.c @ 27482:8accf7a2264c

The MSN client and server strips leading and trailing whitespace, so do the same locally before setting it, so that people don't think that their name actually included any. Also, there's no need to call strlen() to check that the length > 0. Fixes #9447 in a way.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 12 Jul 2009 05:06:45 +0000
parents 47c0795eb4fd
children 99d1b433dba0 39716f7d2c93 e30865b62859
line wrap: on
line diff