[Asterisk-code-review] main/cli.c: Refactor function to print seconds formatted (asterisk[master])

Rodrigo Ramirez Norambuena asteriskteam at digium.com
Thu Mar 3 09:22:02 CST 2016


Hello Anonymous Coward #1000019, Joshua Colp, George Joseph, Walter Doekes,

I'd like you to reexamine a change.  Please visit

    https://gerrit.asterisk.org/2272

to look at the new patch set (#5).

Change subject: main/cli.c: Refactor function to print seconds formatted
......................................................................

main/cli.c: Refactor function to print seconds formatted

Refactor and created function ast_cli_print_timestr_fromseconds to print
seconds formatted:  year(s) week(s) day(s) hour(s) second(s)

This function now is used in addons/cdr_mysql.c,cdr_pgsql.c, main/cli.c,
res_config_ldap.c, res_config_pgsql.c.

Change-Id: Ibeb8634102cd11d3f8623398b279cb731bcde36c
---
M addons/cdr_mysql.c
M cdr/cdr_pgsql.c
M include/asterisk/cli.h
M main/cli.c
M res/res_config_ldap.c
M res/res_config_pgsql.c
6 files changed, 50 insertions(+), 69 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/72/2272/5
-- 
To view, visit https://gerrit.asterisk.org/2272
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibeb8634102cd11d3f8623398b279cb731bcde36c
Gerrit-PatchSet: 5
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Rodrigo Ramirez Norambuena <a at rodrigoramirez.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: George Joseph <george.joseph at fairview5.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Rodrigo Ramirez Norambuena <a at rodrigoramirez.com>
Gerrit-Reviewer: Walter Doekes <walter+asterisk at wjd.nu>



More information about the asterisk-code-review mailing list