mech: remember hard-coded strings

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-03-14 09:06:22 +01:00
parent f43b31b1f5
commit 7a4fe98a3e
+1 -1
View File
@@ -23,7 +23,7 @@ int ietf_sys_tr_commit_hostname(cxobj *src, cxobj *tgt)
char **hosts, *old;
if (src && xml_flag(src, XML_FLAG_DEL))
new = "infix";
new = "infix"; /* XXX: derive from global "options.h" */
else if (tgt && xml_flag(tgt, XML_FLAG_ADD|XML_FLAG_CHANGE))
new = xml_body(tgt);
else