1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

feature #377:Minor cosmetic changes

This commit is contained in:
Ruben S. Montero 2010-11-12 23:40:27 +01:00
parent 33e01f53b1
commit 7d4dbdf10e
3 changed files with 9 additions and 11 deletions

View File

@ -44,10 +44,10 @@ class MySqlDB : public SqlDB
public:
MySqlDB(const string& server,
const int& port,
int port,
const string& user,
const string& password,
char * database);
char * database);
~MySqlDB();
@ -129,4 +129,3 @@ public:
#endif
#endif /*MYSQL_DB_H_*/

View File

@ -42,11 +42,11 @@ void Nebula::start()
int fd;
sigset_t mask;
int signal;
char hn[80];
char hn[80];
if ( gethostname(hn,79) != 0 )
{
throw runtime_error("Error getting hostname");
throw runtime_error("Error getting hostname");
}
hostname = hn;
@ -81,9 +81,9 @@ void Nebula::start()
try
{
string log_fname;
int log_level_int;
Log::MessageType clevel = Log::ERROR;
string log_fname;
int log_level_int;
Log::MessageType clevel = Log::ERROR;
log_fname = log_location + "oned.log";
@ -563,4 +563,3 @@ void Nebula::start()
NebulaLog::log("ONE", Log::INFO, "All modules finalized, exiting.\n");
}

View File

@ -24,10 +24,10 @@
MySqlDB::MySqlDB(
const string& server,
const int& port,
int port,
const string& user,
const string& password,
char * database)
char * database)
{
// Initialize the MySQL library