1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

Applied Monyo's patch for bug #412 which allows \n characters to

appear in msg strings.
(This used to be commit 53a2a389902b6ffa37dd61f0c0a496744fc2e2b3)
This commit is contained in:
Tim Potter 2003-09-22 07:25:19 +00:00
parent 5def5d2bdb
commit 109d5b4622

View File

@ -58,6 +58,8 @@ static BOOL load_msg(const char *msg_file)
if (*msgstr == 0) {
msgstr = msgid;
}
all_string_sub(msgid, "\\n", "\n", 0);
all_string_sub(msgstr, "\\n", "\n", 0);
key.dptr = msgid;
key.dsize = strlen(msgid)+1;
data.dptr = msgstr;