❦ 14 décembre 2017 13:13 +0100, Clemens Schrimpe <clemens.schri...@gmail.com> :
> (gdb) p the_history > $1 = (HIST_ENTRY **) 0x609470 > (gdb) p the_history[0] > $2 = (HIST_ENTRY *) 0x609630 > (gdb) p *(the_history[0]) > $3 = {line = 0x609650 „show protocols „, timestamp = 0x609610 "", data = 0x0} > > > Double-plus-weird! And "p history_offset"? Should be 0. -- Replace repetitive expressions by calls to a common function. - The Elements of Programming Style (Kernighan & Plauger)