[SR-Dev] git:janakj/flatstore: - wrong array index fixed
Jan Janak
jan at iptel.org
Sun Feb 15 18:56:46 CET 2009
Module: sip-router
Branch: janakj/flatstore
Commit: c42475fa6365df41b62522bd712b627ff2bd5516
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c42475fa6365df41b62522bd712b627ff2bd5516
Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date: Sat May 31 17:29:39 2008 +0000
- wrong array index fixed
---
modules/db_flatstore/flat_con.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/db_flatstore/flat_con.c b/modules/db_flatstore/flat_con.c
index 450b66b..3697cfd 100644
--- a/modules/db_flatstore/flat_con.c
+++ b/modules/db_flatstore/flat_con.c
@@ -274,7 +274,7 @@ int flat_open_table(int* idx, db_con_t* con, str* name)
return -1;
}
} else {
- new[fcon->n].f = NULL;
+ new->f = NULL;
}
*idx = fcon->n - 1;
More information about the sr-dev
mailing list