Module: sip-router
Branch: master
Commit: 9a0147b8e050bb8ac7b443e4a3139bb326308cba
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9a0147b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Aug 1 14:12:30 2013 +0200
acc: remove comment from previous patch
- references to tracker should be in comments of the commit, not in the
code
- use tabs for indentation
---
modules/acc/acc_logic.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/acc/acc_logic.c b/modules/acc/acc_logic.c
index c9bdd20..50278fb 100644
--- a/modules/acc/acc_logic.c
+++ b/modules/acc/acc_logic.c
@@ -197,8 +197,7 @@ int acc_db_set_table_name(struct sip_msg *msg, void *param, str
*table)
return -1;
}
strncpy(db_table_name_buf, dbtable.s, dbtable.len);
- /* FS#327: since the buffer is static terminate the table name */
- db_table_name_buf[dbtable.len] = '\0';
+ db_table_name_buf[dbtable.len] = '\0';
env_set_text(db_table_name_buf, dbtable.len);
} else {
if(table==NULL) {