print actually read TUID in debug message

This commit is contained in:
Oswald Buddenhagen 2016-11-13 22:20:55 +01:00
parent 1330f43034
commit 0c36655201

View File

@ -863,8 +863,8 @@ load_state( sync_vars_t *svars )
srec->status = S_DEAD; srec->status = S_DEAD;
break; break;
case '#': case '#':
debug( "TUID now %." stringify(TUIDL) "s\n", buf + t3 + 2 );
memcpy( srec->tuid, buf + t3 + 2, TUIDL ); memcpy( srec->tuid, buf + t3 + 2, TUIDL );
debug( "TUID now %." stringify(TUIDL) "s\n", srec->tuid );
break; break;
case '&': case '&':
debug( "TUID %." stringify(TUIDL) "s lost\n", srec->tuid ); debug( "TUID %." stringify(TUIDL) "s lost\n", srec->tuid );