Replace spaces with tabs

This commit is contained in:
Gunnar Beutner 2015-01-27 10:50:15 +01:00
parent e7938c9374
commit a11cdbdc39
8 changed files with 21 additions and 22 deletions

View File

@ -684,7 +684,7 @@ void StatusDataWriter::UpdateObjectsCache(void)
tempobjectfp << "\t" "members" "\t";
DumpNameList(tempobjectfp, ug->GetMembers());
tempobjectfp << "\n"
"\t" "}" "\n";
"\t" "}" "\n";
objectfp << tempobjectfp.str();
}

View File

@ -76,7 +76,6 @@ void ConfigCompilerContext::FinishObjectsFile(void)
<< boost::errinfo_api_function("rename")
<< boost::errinfo_errno(errno)
<< boost::errinfo_file_name(tempFilename));
}
}
}

View File

@ -57,7 +57,7 @@
%attribute %string "icon_image",
%attribute %string "icon_image_alt",
%attribute %name(Endpoint) "command_endpoint",
%attribute %name(Endpoint) "command_endpoint",
}
%type Host %inherits Checkable {
@ -139,7 +139,7 @@
%attribute %number "*"
},
%attribute %name(Endpoint) "command_endpoint",
%attribute %name(Endpoint) "command_endpoint",
}
%type User {

View File

@ -98,9 +98,9 @@ Object::Ptr CommentsTable::HostAccessor(const Value& row, const Column::ObjectAc
Checkable::Ptr checkable = Checkable::GetOwnerByCommentID(comment->GetId());
Host::Ptr host;
Service::Ptr service;
tie(host, service) = GetHostService(checkable);
Host::Ptr host;
Service::Ptr service;
tie(host, service) = GetHostService(checkable);
return host;
}
@ -111,9 +111,9 @@ Object::Ptr CommentsTable::ServiceAccessor(const Value& row, const Column::Objec
Checkable::Ptr checkable = Checkable::GetOwnerByCommentID(comment->GetId());
Host::Ptr host;
Service::Ptr service;
tie(host, service) = GetHostService(checkable);
Host::Ptr host;
Service::Ptr service;
tie(host, service) = GetHostService(checkable);
return service;
}

View File

@ -98,9 +98,9 @@ Object::Ptr DowntimesTable::HostAccessor(const Value& row, const Column::ObjectA
Checkable::Ptr checkable = Checkable::GetOwnerByDowntimeID(downtime->GetId());
Host::Ptr host;
Service::Ptr service;
tie(host, service) = GetHostService(checkable);
Host::Ptr host;
Service::Ptr service;
tie(host, service) = GetHostService(checkable);
return host;
}
@ -111,9 +111,9 @@ Object::Ptr DowntimesTable::ServiceAccessor(const Value& row, const Column::Obje
Checkable::Ptr checkable = Checkable::GetOwnerByDowntimeID(downtime->GetId());
Host::Ptr host;
Service::Ptr service;
tie(host, service) = GetHostService(checkable);
Host::Ptr host;
Service::Ptr service;
tie(host, service) = GetHostService(checkable);
return service;
}

View File

@ -36,7 +36,7 @@ class I2_METHODS_API PluginEventTask
{
public:
static void ScriptFunc(const Checkable::Ptr& service,
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
private:
PluginEventTask(void);

View File

@ -39,7 +39,7 @@ public:
static void ScriptFunc(const Notification::Ptr& notification,
const User::Ptr& user, const CheckResult::Ptr& cr, int itype,
const String& author, const String& comment,
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
const Dictionary::Ptr& resolvedMacros, bool useResolvedMacros);
private:
PluginNotificationTask(void);

View File

@ -35,8 +35,8 @@
}
%type GelfWriter {
%attribute %string "host",
%attribute %string "port",
%attribute %string "source"
%attribute %string "host",
%attribute %string "port",
%attribute %string "source"
}