]> git.cameronkatri.com Git - cgit.git/commit
ui-log.c: Several simplifications
authorLukas Fleischer <cgit@cryptocrack.de>
Fri, 22 Nov 2013 12:30:58 +0000 (13:30 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 8 Jan 2014 13:59:38 +0000 (14:59 +0100)
commitd76c438eada18cd3fd2980c9555f542cbe636479
tree827ff39e0a197f812a375a2ef4be5102a331d174
parent9973ef0207d21535a05610ca50d9f45c7c56c758
ui-log.c: Several simplifications

* Use argv_array_pushf() for inserting formatted strings.
* Remove unneeded static strings.
* Replace "if" by "else if" for readability and speed.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
ui-log.c