Commit Graph

8 Commits

Author SHA1 Message Date
Davide Beatrici
4e67a2fafb Auto-update LICENSE.header in source files 2020-01-07 03:09:22 +01:00
Davide Beatrici
7779447ee4 mumble_plugin_utils.h: declare escape() as inline, minor improvements
Fixes the following warning:

../mumble_plugin_utils.h:33:13: error: 'void escape(char*, size_t)' defined but not used [-Werror=unused-function]
 static void escape(char *str, size_t size) {
             ^

It appeared after bb248cc, due to "ut99.cpp" not using escape().

This commit also:

- Changes the "size" argument so that it is passed as reference.
- Indents the function using tabs.
2019-10-12 09:01:00 +02:00
Davide Beatrici
ed6ff7ca9a plugins: convert UTF-16 to UTF-8 using C++11 features 2019-10-11 21:58:46 +02:00
Davide Beatrici
b427333257 Auto-update LICENSE.header in source files 2019-01-25 04:56:19 +01:00
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
Mikkel Krautz
91ebb8b0b5 Update tree copyrights to 2017. 2017-01-08 21:05:57 +01:00
davidebeatrici
90bcd40d39 plugins: Move NUL terminator to escape function 2016-10-23 21:32:08 +02:00
Davide Beatrici
7591b5c153 Move "escape" function to mumble_plugin_utils.h header 2016-05-29 00:57:57 +02:00