Print entire command
authorBernard Blackham <[email protected]>
Fri, 25 Jun 2004 02:11:58 +0000 (02:11 +0000)
committerBernard Blackham <[email protected]>
Fri, 25 Jun 2004 02:11:58 +0000 (02:11 +0000)
ROM2/crctest.c

index fdfa471..a67ed9b 100644 (file)
@@ -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;
 }

UCC git Repository :: git.ucc.asn.au