Parent Directory | Revision Log | Patch
revision 64 by astrand, Thu Jul 18 16:38:31 2002 UTC | revision 73 by astrand, Mon Jul 29 19:21:51 2002 UTC | |
---|---|---|
# | Line 53 static void | Line 53 static void |
53 | licence_generate_hwid(uint8 * hwid) | licence_generate_hwid(uint8 * hwid) |
54 | { | { |
55 | buf_out_uint32(hwid, 2); | buf_out_uint32(hwid, 2); |
56 | strncpy(hwid + 4, hostname, LICENCE_HWID_SIZE - 4); | strncpy((char *)(hwid + 4), hostname, LICENCE_HWID_SIZE - 4); |
57 | } | } |
58 | ||
59 | /* Present an existing licence to the server */ | /* Present an existing licence to the server */ |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |