#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <unistd.h>
printfd("debug: reading new random bytes\n");
if(read(random_fd,rand_buf,RAND_BUF_SIZE)!=RAND_BUF_SIZE)
{
- if(!strcmp(random_file,""))
+ if(strcmp(random_file,""))
{
puts("random file end, starting over ...");
lseek(random_fd,0,SEEK_SET);