Print libretroshare version on init

This commit is contained in:
Gioacchino Mazzurco 2020-01-07 01:18:29 +01:00
parent f4f7b8a1ea
commit babd2938c2
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051
3 changed files with 8 additions and 4 deletions

View File

@ -4,7 +4,8 @@
* libretroshare: retroshare core library * * libretroshare: retroshare core library *
* * * *
* Copyright (C) 2012-2018 Retroshare Team <contact@retroshare.cc> * * Copyright (C) 2012-2018 Retroshare Team <contact@retroshare.cc> *
* Copyright (C) 2018-2019 Gioacchino Mazzurco <gio@eigenlab.org> * * Copyright (C) 2018-2020 Gioacchino Mazzurco <gio@eigenlab.org> *
* Copyright (C) 2020 Asociación Civil Altermundi <info@altermundi.net> *
* * * *
* This program is free software: you can redistribute it and/or modify * * This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as * * it under the terms of the GNU Lesser General Public License as *
@ -55,7 +56,7 @@
* Customize it trough qmake command line @see retroshare.pri * Customize it trough qmake command line @see retroshare.pri
*/ */
#ifndef RS_EXTRA_VERSION #ifndef RS_EXTRA_VERSION
# define RS_EXTRA_VERSION "alpha" # define RS_EXTRA_VERSION "-alpha"
#endif #endif

View File

@ -45,7 +45,7 @@
#include "retroshare/rsnotify.h" #include "retroshare/rsnotify.h"
#include "retroshare/rsiface.h" #include "retroshare/rsiface.h"
#include "plugins/pluginmanager.h" #include "plugins/pluginmanager.h"
#include "retroshare/rsversion.h"
#include "rsserver/rsloginhandler.h" #include "rsserver/rsloginhandler.h"
#include "rsserver/rsaccounts.h" #include "rsserver/rsaccounts.h"
@ -195,6 +195,9 @@ static const int SSLPWD_LEN = 64;
void RsInit::InitRsConfig() void RsInit::InitRsConfig()
{ {
RsInfo() << " libretroshare version: " << RS_HUMAN_READABLE_VERSION
<< std::endl;
rsInitConfig = new RsInitConfig; rsInitConfig = new RsInitConfig;