]> andersk Git - moira.git/blobdiff - reg_svr/protocol.c
If we have a reserved username for a status 0 account, we need to
[moira.git] / 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.219092 seconds and 4 git commands to generate.