From: fredrik Date: Tue, 9 Jan 2007 00:14:21 +0000 (+0000) Subject: Fix bug on user arrival. X-Git-Tag: 0.3~112 X-Git-Url: http://dolda2000.com/gitweb/?a=commitdiff_plain;h=fbd18e0ce36db876bcbb6b56de506e1b9385d3c9;p=doldaconnect.git Fix bug on user arrival. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@815 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/clients/gaim/gaim-dolcon.c b/clients/gaim/gaim-dolcon.c index 715c629..b04c8a0 100644 --- a/clients/gaim/gaim-dolcon.c +++ b/clients/gaim/gaim-dolcon.c @@ -98,7 +98,7 @@ static void newpeercb(struct dc_fnetpeer *peer) data = peer->fn->udata; if((conv = gaim_find_chat(data->gc, peer->fn->id)) != NULL) { - buf = sprintf2("%i:%s", peer->fn->id, icswcstombs(peer->nick, "UTF-8", NULL)); + buf = sprintf2("%s", peer->fn->id, icswcstombs(peer->nick, "UTF-8", NULL)); gaim_conv_chat_add_user(GAIM_CONV_CHAT(conv), buf, NULL, GAIM_CBFLAGS_NONE, TRUE); free(buf); }