summaryrefslogtreecommitdiff
path: root/src/common/showmsg.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-15 01:13:25 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-15 01:13:25 +0000
commit2a56d9f154580b5bce78a5c382b0eef7e36751c9 (patch)
treee904020d91d4879d0b2eb2a022d08c54a76d3077 /src/common/showmsg.c
parent4c6f057f3d40bd7aa8e7d65e672ade0ee26c4aa9 (diff)
downloadhercules-2a56d9f154580b5bce78a5c382b0eef7e36751c9.tar.gz
hercules-2a56d9f154580b5bce78a5c382b0eef7e36751c9.tar.bz2
hercules-2a56d9f154580b5bce78a5c382b0eef7e36751c9.tar.xz
hercules-2a56d9f154580b5bce78a5c382b0eef7e36751c9.zip
BuildBot console report code
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15126 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/showmsg.c')
-rw-r--r--src/common/showmsg.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/common/showmsg.c b/src/common/showmsg.c
index a69c73ba2..23d241505 100644
--- a/src/common/showmsg.c
+++ b/src/common/showmsg.c
@@ -687,6 +687,16 @@ int _vShowMessage(enum msg_type flag, const char *string, va_list ap)
ShowError("Empty string passed to _vShowMessage().\n");
return 1;
}
+ /**
+ * For the buildbot, these result in a EXIT_FAILURE from core.c when done reading the params.
+ **/
+#if defined(BUILDBOT)
+ if( flag == MSG_WARNING ||
+ flag == MSG_ERROR ||
+ flag == MSG_SQL ) {
+ bool buildbotflag = true;
+ }
+#endif
if(
( flag == MSG_WARNING && console_msg_log&1 ) ||
( ( flag == MSG_ERROR || flag == MSG_SQL ) && console_msg_log&2 ) ||