-- fix: a non StrictCompile() build warning. i'm not sure this code every worked properly

This commit is contained in:
pfelt
2009-08-20 03:16:26 +00:00
parent af519dac9e
commit 14b6893ae4
+1 -1
View File
@@ -158,7 +158,7 @@ MsgAuthDeleteCookie(const char *username, const char *token)
// next, clear the existing file
rewind(cookiefile);
ftruncate((int)cookiefile, 0);
ftruncate(fileno(cookiefile), 0);
// now, go through memory writing out only the cookies we want to keep
for (i = 0; i < cookiecount; i++) {