fix get cdrstats from redis and a small rpc problem

This commit is contained in:
Radu Ioan Fericean
2014-08-01 12:52:14 +03:00
parent 8b77f457d2
commit 0033f400b2
2 changed files with 2 additions and 2 deletions

View File

@@ -688,7 +688,7 @@ func (rs *RedisStorage) GetAllCdrStats() (css []*CdrStats, err error) {
if err != nil {
continue
}
var cs *CdrStats
cs := &CdrStats{}
err = rs.ms.Unmarshal(value, cs)
css = append(css, cs)
}