assert not registering with RELAY_ID

This commit is contained in:
Eric House 2013-09-26 08:37:39 -07:00
parent 4202f24091
commit 4d4f76c8ae

View file

@ -91,6 +91,7 @@ relaycon_reg( LaunchParams* params, const XP_UCHAR* rDevID,
indx += writeHeader( storage, tmpbuf, XWPDEV_REG );
indx += addVLIStr( &tmpbuf[indx], sizeof(tmpbuf) - indx, rDevID );
assert( ID_TYPE_RELAY != typ );
tmpbuf[indx++] = typ;
if ( ID_TYPE_NONE != typ ) {
indx += writeDevID( &tmpbuf[indx], sizeof(tmpbuf) - indx, devID );