mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
compatibility with new notification method: added a rsicontrol global variable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1055 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
23a617dca4
commit
55653325d1
@ -46,6 +46,8 @@
|
||||
* The startup routine's are defined in rsiface.h
|
||||
*/
|
||||
|
||||
RsControl *rsicontrol ;
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
/* Retroshare startup is configured using an RsInit object.
|
||||
@ -93,6 +95,8 @@ int main(int argc, char **argv)
|
||||
/* Start-up libretroshare server threads */
|
||||
|
||||
rsServer -> StartupRetroShare();
|
||||
|
||||
rsicontrol = rsServer ;
|
||||
RsInit::passwd = "" ;
|
||||
//CleanupRsConfig(config);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user