Bug in storage.c

[email protected] Thu, 24 Feb 2005 14:47:38 -0600
Newsgroups gmane.network.gnunet.bugs
Message-ID <H0000274091cd266.1109278058.nspdmail-2*@MHS>
BDY.TXT (text/plain, 420 B)
I believe there may be a bug in storage.c at line 416.

00416       if (! isDirectory(dir))

should be

00416       if (! isDirectory(rdir))


Though you subsequently handle the resultant EEXIST error, I believe the 
parameter should be "rdir" instead of "dir" because otherwise you get 
the EEXIST error far more often than you should.

Please tell me if I am wrong.

Thank you.

Mike Palmer
[email protected]