diff --git a/widget/src/xremoteclient/PhRemoteClient.cpp b/widget/src/xremoteclient/PhRemoteClient.cpp index e3a79a8a5fdb..56c414aa2de5 100644 --- a/widget/src/xremoteclient/PhRemoteClient.cpp +++ b/widget/src/xremoteclient/PhRemoteClient.cpp @@ -74,12 +74,17 @@ XRemoteClient::Init (void) } NS_IMETHODIMP -XRemoteClient::SendCommand (const char *aCommand, PRBool *aWindowFound) +XRemoteClient::SendCommand (const char *aProgram, const char *aUsername, + const char *aProfile, const char *aCommand, + char **aResponse, PRBool *aWindowFound) { *aWindowFound = PR_TRUE; char *RemoteServerName; + /* ATENTIE: register connections based on ProfileName and find the appropiate connection + based on the aProfile argument */ + if( !strncmp( aCommand, "mping", 5 ) ) { RemoteServerName = MailRemoteServerName; aCommand++;