]> andersk Git - moira.git/commitdiff
oops. bits aren't bytes
authordanw <danw>
Wed, 22 Jul 1998 18:02:25 +0000 (18:02 +0000)
committerdanw <danw>
Wed, 22 Jul 1998 18:02:25 +0000 (18:02 +0000)
reg_svr/protocol.c

index a5a7f01e0d866ecc5e83ca570fd2f5121a56c060..da8a9dabc3de698a3f7c61ea89d13867a8e55a60 100644 (file)
@@ -269,7 +269,7 @@ void reply(reg_client *rc, int msg, char *state, char *clean, char *data,
   junk = lrand48();
   memcpy(buf + 7, &junk, 4);
   nrand = seed48(rc->random);
-  memcpy(rc->random, nrand, 48);
+  memcpy(rc->random, nrand, 6);
 
   memcpy(buf + 11, "v1", 3);
   memcpy(buf + 14, state, len = strlen(state) + 1);
This page took 0.253647 seconds and 5 git commands to generate.