Remove extra 'comma = 0' in socket state printing code, which otherwise

could lead to an extra comma in output.

Submitted by:   Christoph Mallon <christoph dot mallon at gmx dot de>
This commit is contained in:
Robert Watson 2009-02-09 18:19:58 +00:00
parent 96c7367b9e
commit e2757609ec

View File

@ -172,7 +172,6 @@ db_print_sostate(short so_state)
db_printf("%sSS_ISCONFIRMING", comma ? ", " : ""); db_printf("%sSS_ISCONFIRMING", comma ? ", " : "");
comma = 1; comma = 1;
} }
comma = 0;
if (so_state & SS_PROTOREF) { if (so_state & SS_PROTOREF) {
db_printf("%sSS_PROTOREF", comma ? ", " : ""); db_printf("%sSS_PROTOREF", comma ? ", " : "");
comma = 1; comma = 1;