how to modify the nullclient.c so the account canloginthereal xmpp server?

Ka-Hing Cheung khc at hxbc.us
Tue Sep 16 22:29:57 EDT 2008


On Tue, 2008-09-16 at 16:30 +0800, jimmy_yuhai wrote:
> Dear Ka-Hing Cheung:
>  i add the break point at purple_request_set_ui_ops, but it does not
> stop there,sounds no go through that function; 

Right, you need to set your own ui_ops.

> in gdb , i notice that the nullclient programe 
> //void purple_connection_new.c
>  if (!purple_account_is_disconnected(account))
>   return;

Right, it doesn't make sense to start a new connection if the account is
already connected. Does that not make sense?

> it returns here so early,can not run till this
> function :prpl_info->register_user(account);
> for i set the username:username at chsiyuhai and the password 

I totally don't get what you are saying here.

-khc








More information about the Devel mailing list