diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-02 12:26:41 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-02 12:26:41 (GMT) |
commit | eabb59cb4f33644be43315f539f21abc6c78348e (patch) | |
tree | c5bcb0f60ec25258ddc6cdf5790edfff4478a117 /src | |
parent | 88468313289c659088be9beece59a82206153ed8 (diff) | |
parent | cc4f3b454cae7d3e9eaa44342bcbae1061f5e790 (diff) | |
download | Doxygen-eabb59cb4f33644be43315f539f21abc6c78348e.zip Doxygen-eabb59cb4f33644be43315f539f21abc6c78348e.tar.gz Doxygen-eabb59cb4f33644be43315f539f21abc6c78348e.tar.bz2 |
Merge pull request #204 from albert-github/feature/bug_message_length
Messages truncated in warnings file
Diffstat (limited to 'src')
-rw-r--r-- | src/message.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.cpp b/src/message.cpp index 8e4ecbd..11b4502 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -152,15 +152,15 @@ static void format_warn(const char *file,int line,const char *text) static void do_warn(const char *tag, const char *file, int line, const char *prefix, const char *fmt, va_list args) { if (!Config_getBool(tag)) return; // warning type disabled - char text[4096]; + char text[40960]; int l=0; if (prefix) { strcpy(text,prefix); l=strlen(prefix); } - vsnprintf(text+l, 4096-l, fmt, args); - text[4095]='\0'; + vsnprintf(text+l, 40960-l, fmt, args); + text[40960-1]='\0'; format_warn(file,line,text); } |