Fix stupid typos.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 9 Jan 2007 00:16:37 +0000 (00:16 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 9 Jan 2007 00:16:37 +0000 (00:16 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@816 959494ce-11ee-0310-bf91-de5d638817bd

clients/gaim/gaim-dolcon.c

index b04c8a0..7a71f7a 100644 (file)
@@ -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)
     {
     data = peer->fn->udata;
     if((conv = gaim_find_chat(data->gc, peer->fn->id)) != NULL)
     {
-       buf = sprintf2("%s", peer->fn->id, icswcstombs(peer->nick, "UTF-8", NULL));
+       buf = sprintf2("%s", icswcstombs(peer->nick, "UTF-8", NULL));
        gaim_conv_chat_add_user(GAIM_CONV_CHAT(conv), buf, NULL, GAIM_CBFLAGS_NONE, TRUE);
        free(buf);
     }
        gaim_conv_chat_add_user(GAIM_CONV_CHAT(conv), buf, NULL, GAIM_CBFLAGS_NONE, TRUE);
        free(buf);
     }
@@ -113,7 +113,7 @@ static void delpeercb(struct dc_fnetpeer *peer)
     data = peer->fn->udata;
     if((conv = gaim_find_chat(data->gc, peer->fn->id)) != NULL)
     {
     data = peer->fn->udata;
     if((conv = gaim_find_chat(data->gc, peer->fn->id)) != NULL)
     {
-       buf = sprintf2("%s", peer->fn->id, icswcstombs(peer->nick, "UTF-8", NULL));
+       buf = sprintf2("%s", icswcstombs(peer->nick, "UTF-8", NULL));
        gaim_conv_chat_remove_user(GAIM_CONV_CHAT(conv), buf, NULL);
        free(buf);
     }
        gaim_conv_chat_remove_user(GAIM_CONV_CHAT(conv), buf, NULL);
        free(buf);
     }