summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-06-26 16:47:56 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-06-26 16:47:56 +0000
commitd0de9fe229ab0d8ae1f61f7460fdf87d71f7344d (patch)
treeaa120bfe2de300f961c80d7174832ced531b56cf
parent8b733e056874801b8b094f7a456f5548bb84b8f0 (diff)
downloadirssi-d0de9fe229ab0d8ae1f61f7460fdf87d71f7344d.zip
"log rotate" -> "log rotated"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1565 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--docs/signals.txt2
-rw-r--r--src/core/log.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/signals.txt b/docs/signals.txt
index 0866baba..6525ec24 100644
--- a/docs/signals.txt
+++ b/docs/signals.txt
@@ -47,7 +47,7 @@ log.c:
"log locked", LOG_REC
"log started", LOG_REC
"log stopped", LOG_REC
- "log rotate", LOG_REC
+ "log rotated", LOG_REC
"log written", LOG_REC, char *line
modules.c:
diff --git a/src/core/log.c b/src/core/log.c
index 9fbaba49..d2f1e7bf 100644
--- a/src/core/log.c
+++ b/src/core/log.c
@@ -176,7 +176,7 @@ static void log_rotate_check(LOG_REC *log)
if (strcmp(new_fname, log->real_fname) != 0) {
/* rotate log */
log_stop_logging(log);
- signal_emit("log rotate", 1, log);
+ signal_emit("log rotated", 1, log);
log_start_logging(log);
}
g_free(new_fname);