debugging
This commit is contained in:
parent
09a5f19772
commit
4192ac1de1
1 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,6 @@ vtreadpacket(VtConn *z, uchar score[VtScoreSize], uint type, int n)
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return rx.data;
|
return rx.data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -119,7 +118,8 @@ vtwritepacket(VtConn *z, uchar score[VtScoreSize], uint type, Packet *p)
|
||||||
werrstr("sha1 hash mismatch: want %V got %V", score, rx.score);
|
werrstr("sha1 hash mismatch: want %V got %V", score, rx.score);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}else
|
||||||
|
memmove(score, rx.score, VtScoreSize);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue