Skip to content
Snippets Groups Projects
Commit fdc5ceb6 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

remove unused code

parent dbf6d7ac
Branches
Tags
No related merge requests found
...@@ -63,8 +63,6 @@ ...@@ -63,8 +63,6 @@
#include <sys/types.h> // mkdir(2) #include <sys/types.h> // mkdir(2)
#include <sys/stat.h> // mkdir(2) #include <sys/stat.h> // mkdir(2)
#include <pwd.h> // getpwuid
#define DIRECT_IP_CALL "IP CALL" #define DIRECT_IP_CALL "IP CALL"
#define fill_config_str(name, value) \ #define fill_config_str(name, value) \
...@@ -2404,13 +2402,6 @@ void ManagerImpl::initConfigFile (std::string alternate) ...@@ -2404,13 +2402,6 @@ void ManagerImpl::initConfigFile (std::string alternate)
{ {
_debug ("Manager: Init config file"); _debug ("Manager: Init config file");
// Init display name to the username under which
// this sflphone instance is running.
uid_t uid = getuid();
struct passwd * user_info = NULL;
user_info = getpwuid (uid);
// Loads config from ~/.sflphone/sflphoned.yml or so.. // Loads config from ~/.sflphone/sflphoned.yml or so..
_path = (alternate != "") ? alternate : getConfigFile(); _path = (alternate != "") ? alternate : getConfigFile();
_debug ("Manager: configuration file path: %s", _path.c_str()); _debug ("Manager: configuration file path: %s", _path.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment