|
From: <sv...@va...> - 2008-06-30 08:55:33
|
Author: bart
Date: 2008-06-30 09:55:35 +0100 (Mon, 30 Jun 2008)
New Revision: 8313
Log:
Fixed indentation.
Modified:
branches/FORMATCHECK/coregrind/m_debuglog.c
Modified: branches/FORMATCHECK/coregrind/m_debuglog.c
===================================================================
--- branches/FORMATCHECK/coregrind/m_debuglog.c 2008-06-30 08:50:07 UTC (rev 8312)
+++ branches/FORMATCHECK/coregrind/m_debuglog.c 2008-06-30 08:55:35 UTC (rev 8313)
@@ -886,22 +886,22 @@
static void append_to_xml_result_buf(const HChar ch, void* arg2)
{
- if (xml_result_buf_pos
- <= sizeof(xml_result_buf) / sizeof(xml_result_buf[0]) - 2)
- {
- xml_result_buf[xml_result_buf_pos++] = ch;
- }
+ if (xml_result_buf_pos
+ <= sizeof(xml_result_buf) / sizeof(xml_result_buf[0]) - 2)
+ {
+ xml_result_buf[xml_result_buf_pos++] = ch;
+ }
}
/* Convert a string such that it can be inserted into an XML output stream. */
extern HChar* VG_(ToXML)(const HChar* str)
{
- if (str == NULL)
- str = "(null)";
- xml_result_buf_pos = 0;
- myvprintf_str_XML_simplistic(append_to_xml_result_buf, NULL, str);
- xml_result_buf[xml_result_buf_pos] = 0;
- return xml_result_buf;
+ if (str == NULL)
+ str = "(null)";
+ xml_result_buf_pos = 0;
+ myvprintf_str_XML_simplistic(append_to_xml_result_buf, NULL, str);
+ xml_result_buf[xml_result_buf_pos] = 0;
+ return xml_result_buf;
}
/*--------------------------------------------------------------------*/
|