Changeset 5705

It doesn't matter what the byte is that we write to the alert pipe

Comitted by:  mjagdis
Date:  Jun 04 2010 * 23:10 (about 1 year ago)

Affected files:

callweaver/trunk/corelib/channel.c (unified diff)

r5682r5705
806806
807807 if (chan->alertpipe[1] > -1)
808808 {
809 char blah;
810 if (write(chan->alertpipe[1], &blah, sizeof(blah)) != sizeof(blah))
809 if (write(chan->alertpipe[1], &chan, 1) != 1)
811810 cw_log(CW_LOG_WARNING,
812811 "Unable to write to alert pipe on %s, frametype/subclass %d/%d (qlen = %d): %s!\n",
813812 chan->name,