From: Bernard Blackham Date: Fri, 25 Jun 2004 02:11:58 +0000 (+0000) Subject: Print entire command X-Git-Tag: X~5 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=a97d380ffd9b5cd4c4c3d027a7db29520bb9439d;p=uccvend-snackrom.git Print entire command --- diff --git a/ROM2/crctest.c b/ROM2/crctest.c index fdfa471..a67ed9b 100644 --- a/ROM2/crctest.c +++ b/ROM2/crctest.c @@ -36,6 +36,6 @@ int main(int argc, char** argv) { crc = docrc(((char*)&msgid), 1, 0, crc); crc = docrc(password, strlen(password), 0, crc); crc = docrc(message, strlen(message), 0, crc); - printf("%04x\n", crc); + printf("%s|%04x\n", message, crc); return 0; }