Fix G-line handling and ?gtrace time display.
authorMichael Poole <mdpoole@troilus.org>
Sun, 18 Apr 2010 23:21:41 +0000 (19:21 -0400)
committerMichael Poole <mdpoole@troilus.org>
Sun, 18 Apr 2010 23:21:41 +0000 (19:21 -0400)
commitf6b39d3f8fa704355045ace0df293bc6f04cb36d
tree490b3dd9b96eb62767a6faebb7cc403a0e1561b5
parentfb48941e9268712dd0dad4e202b5682923e3fa1d
Fix G-line handling and ?gtrace time display.

src/gline.c (gline_comparator): Use lifetime rather than expiration time to
    sort G-lines.
  (gline_add): Only update expiration time and reason if the new
     modification time is newer than the previous one.  Never update
     issuer (ircu doesn't track it).
src/opserv.c (gtrace_print_func): Display G-lines with no expiration time
  correctly.
src/gline.c
src/opserv.c