summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes2
-rw-r--r--src/main.c2
-rw-r--r--version.log6
3 files changed, 7 insertions, 3 deletions
diff --git a/Changes b/Changes
index 082b6e219..c496802b6 100644
--- a/Changes
+++ b/Changes
@@ -4,7 +4,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
04/08 F Fixed Charybdis support on win32. [#487]
04/08 F Fixed thread stuff on windows. [#488]
04/08 F Fixed SGLine stuff on inspircd (not supported). [#489]
-
+04/20 F Fixed index of backtrace(). [#499]
Anope Version 1.7.14
--------------------
diff --git a/src/main.c b/src/main.c
index db73e5ae5..9d5e0e465 100644
--- a/src/main.c
+++ b/src/main.c
@@ -640,7 +640,7 @@ void do_backtrace(int show_segheader)
version_build, version_flags);
size = backtrace(array, 10);
strings = backtrace_symbols(array, size);
- for (i = 1; i < size; i++) {
+ for (i = 0; i < size; i++) {
alog("Backtrace(%d): %s", i, strings[i]);
}
free(strings);
diff --git a/version.log b/version.log
index 246e56785..4d04aeae9 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="14"
VERSION_EXTRA=""
-VERSION_BUILD="1027"
+VERSION_BUILD="1028"
# $Log$
#
+# BUILD : 1.7.14 (1028)
+# BUGS : 499
+# NOTES : fixed index of backtrace(), thx craig
+#
# BUILD : 1.7.14 (1027)
# BUGS :
# NOTES : removed threads.h