From 55653325d143aca4f0ecf2538bf4db04b771356e Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 26 Feb 2009 14:10:26 +0000 Subject: [PATCH] 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 --- retroshare-nogui/src/retroshare.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/retroshare-nogui/src/retroshare.cc b/retroshare-nogui/src/retroshare.cc index 5d6af5148..28c23028b 100644 --- a/retroshare-nogui/src/retroshare.cc +++ b/retroshare-nogui/src/retroshare.cc @@ -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);