summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-04-20 20:18:31 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-04-20 20:18:31 +0000
commitb4de451c191efbbed43213679ed247e66b052680 (patch)
treee076fed758f7193fadc0a6b144aee7a3a89e98fa
parent77c8e1b76716386ec7c95622d42a624c16313521 (diff)
# BUILD : 1.7.14 (1028) # BUGS : 499 # NOTES : fixed index of backtrace(), thx craig
git-svn-id: svn://svn.anope.org/anope/trunk@1028 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@752 5417fbe8-f217-4b02-8779-1006273d7864
-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