Ignore:
Timestamp:
2015-03-15T14:41:47Z (9 years ago)
Author:
dequis <dx@…>
Children:
3752019
Parents:
f3ca350
git-author:
dequis <dx@…> (08-03-15 04:28:28)
git-committer:
dequis <dx@…> (15-03-15 14:41:47)
Message:

msn: colorful debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn_util.c

    rf3ca350 rfa8c775  
    269269
    270270        if (st <= 0) {
     271                fprintf(stderr, "\n\x1b[92m<<< [closed]\x1b[97m ");
    271272                return(-1);
    272273        }
    273274
    274275        if (getenv("BITLBEE_DEBUG")) {
    275                 write(2, "->C:", 4);
     276                fprintf(stderr, "\n\x1b[92m<<< ");
    276277                write(2, h->rxq + h->rxlen - st, st);
     278                fprintf(stderr, "\x1b[97m");
    277279        }
    278280
Note: See TracChangeset for help on using the changeset viewer.