Ignore:
Timestamp:
2015-04-10T17:10:40Z (6 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
254a4da
Parents:
a9b1e0e
git-author:
dequis <dx@…> (08-03-15 04:28:28)
git-committer:
dequis <dx@…> (10-04-15 17:10:40)
Message:

msn: colorful debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn_util.c

    ra9b1e0e r693aca0  
    275275
    276276        if (st <= 0) {
     277                fprintf(stderr, "\n\x1b[92m<<< [closed]\x1b[97m ");
    277278                return(-1);
    278279        }
    279280
    280281        if (getenv("BITLBEE_DEBUG")) {
    281                 write(2, "->C:", 4);
     282                fprintf(stderr, "\n\x1b[92m<<< ");
    282283                write(2, h->rxq + h->rxlen - st, st);
     284                fprintf(stderr, "\x1b[97m");
    283285        }
    284286
Note: See TracChangeset for help on using the changeset viewer.