mirror of
https://github.com/OpenVPN/openvpn.git
synced 2024-11-27 19:53:51 +08:00
get rid of INLINE_FILE_TAG constant
Now that the whole inline logic has been converted to using bool flags, the INLINE_FILE_TAG constant is not useful anymore. Get rid of the constant as it's now unused and to prevent any future developer from mistakenly use it again. Signed-off-by: Antonio Quartulli <a@unstable.cc> Acked-by: David Sommerseth <davids@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20200508212356.18522-1-a@unstable.cc> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19863.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
d7e26a3431
commit
27ad978fd6
@ -88,12 +88,6 @@ typedef unsigned long ptr_type;
|
||||
*/
|
||||
#define PUSH_REQUEST_INTERVAL 5
|
||||
|
||||
/*
|
||||
* A sort of pseudo-filename for data provided inline within
|
||||
* the configuration file.
|
||||
*/
|
||||
#define INLINE_FILE_TAG "[[INLINE]]"
|
||||
|
||||
/*
|
||||
* Script security warning
|
||||
*/
|
||||
|
@ -1189,7 +1189,7 @@ print_key_filename(const char *str, bool is_inline)
|
||||
{
|
||||
if (is_inline)
|
||||
{
|
||||
return INLINE_FILE_TAG;
|
||||
return "[[INLINE]]";
|
||||
}
|
||||
|
||||
return np(str);
|
||||
|
Loading…
Reference in New Issue
Block a user