Explorar o código

print actually read TUID in debug message

Oswald Buddenhagen %!s(int64=8) %!d(string=hai) anos
pai
achega
0c36655201
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/sync.c

+ 1 - 1
src/sync.c

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