rdflib: actually get the time
sizeof(t = time(NULL)) doesn't ever actually call time(). Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
99276cc7d9
commit
2bc798a968
1 changed files with 2 additions and 1 deletions
|
@ -180,7 +180,8 @@ int main(int argc, char **argv)
|
|||
}
|
||||
fwrite(sig_modname, 1, strlen(sig_modname) + 1, fp);
|
||||
fwrite(rdl_signature, 1, strlen(rdl_signature), fp);
|
||||
l = sizeof(t = time(NULL));
|
||||
t = time(NULL);
|
||||
l = sizeof(t);
|
||||
fwrite(&l, sizeof(l), 1, fp);
|
||||
fwrite(&t, 1, l, fp);
|
||||
fclose(fp);
|
||||
|
|
Loading…
Reference in a new issue