summaryrefslogtreecommitdiff
path: root/unrar/unrar.c
diff options
context:
space:
mode:
Diffstat (limited to 'unrar/unrar.c')
-rw-r--r--unrar/unrar.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/unrar/unrar.c b/unrar/unrar.c
index 22d5497..b1282e7 100644
--- a/unrar/unrar.c
+++ b/unrar/unrar.c
@@ -1,5 +1,5 @@
/* UNRAR plugin for Tux Commander
- * version 0.3.2, designed for unrar v3.8.2
+ * version 0.3.3, designed for unrar v3.8.2
* Copyright (C) 2008 Tomas Bzatek <tbzatek@users.sourceforge.net>
* Check for updates on tuxcmd.sourceforge.net
*
@@ -55,8 +55,8 @@ enum HOST_SYSTEM {
};
-#define VERSION "0.3.2"
-#define BUILD_DATE "2008-10-28"
+#define VERSION "0.3.3"
+#define BUILD_DATE "2008-11-14"
#define DEFAULT_BLOCK_SIZE 65536
@@ -479,6 +479,14 @@ int VFSGetPasswordRequired(struct TVFSGlobs *globs)
return FALSE;
}
+void VFSResetPassword(struct TVFSGlobs *globs)
+{
+ if (globs && globs->password) {
+ g_free (globs->password);
+ globs->password = NULL;
+ }
+}
+
/******************************************************************************************************/