Skip to content

Commit

Permalink
update master::log_error to consolidate domain and all other errors i…
Browse files Browse the repository at this point in the history
…nto a single 'syntax' file
  • Loading branch information
michaelprograms committed Feb 11, 2025
1 parent a7ae2be commit 20bc320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/secure/daemon/master.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,9 @@ void log_error (string file, string msg) {
if (sscanf(file, "/realm/%s/%s", nom, tmp) == 2) {
dest = nom;
} else if (sscanf(file, "/domain/%s/%s", nom, tmp) == 2) {
dest = nom;
dest = "syntax";
} else if (sscanf(file, "/%s/%s", nom, tmp) == 2) {
dest = nom;
dest = "syntax";
}
if (!dest) {
dest = "log";
Expand Down

0 comments on commit 20bc320

Please sign in to comment.