浏览代码

acc: remove comment from previous patch

- references to tracker should be in comments of the commit, not in the
  code
- use tabs for indentation
Daniel-Constantin Mierla 12 年之前
父节点
当前提交
9a0147b8e0
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      modules/acc/acc_logic.c

+ 1 - 2
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) {