diff options
author | ulim <a.sporto+bee@gmail.com> | 2008-08-04 16:45:24 +0200 |
---|---|---|
committer | ulim <a.sporto+bee@gmail.com> | 2008-08-04 16:45:24 +0200 |
commit | 8661caad555f4306cf36ee37979a7637b05d5cd4 (patch) | |
tree | 7e4a7c3d6a700610dd31d109508b07caa3253902 /nick.c | |
parent | 4ac647dbcef152bebde7209f7c9cbbf8a5e0fc37 (diff) | |
parent | 718e05f842c1af043eb4efded8b0afe429377f70 (diff) |
merged in upstream r410.
Only conflict was the correction of jabber normalization which I had already done.
Diffstat (limited to 'nick.c')
-rw-r--r-- | nick.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -46,6 +46,7 @@ void nick_set( account_t *acc, const char *handle, const char *nick ) char *store_handle, *store_nick = g_malloc( MAX_NICK_LENGTH + 1 ); store_handle = clean_handle( handle ); + store_nick[MAX_NICK_LENGTH] = 0; strncpy( store_nick, nick, MAX_NICK_LENGTH ); nick_strip( store_nick ); |