[vhffs-dev] [1158] okay...

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1158
Author:   gradator
Date:     2008-02-17 18:26:18 +0000 (Sun, 17 Feb 2008)

Log Message:
-----------
okay... it now send the RIGHT pointer to g_ptr_array_remove_fast()...

Modified Paths:
--------------
    trunk/vhffs-fs/vhffsfs.c


Modified: trunk/vhffs-fs/vhffsfs.c
===================================================================
--- trunk/vhffs-fs/vhffsfs.c	2008-02-14 12:49:39 UTC (rev 1157)
+++ trunk/vhffs-fs/vhffsfs.c	2008-02-17 18:26:18 UTC (rev 1158)
@@ -816,8 +816,8 @@
 #ifdef WITH_CHECKQUOTA_CACHE_DEBUG
 	printf("QUOTACACHE: DELETING: %s\n", key);
 #endif
-	g_ptr_array_remove_fast(vhffsfs.quotacachekeys, key);
-	g_hash_table_remove(vhffsfs.quotacacheused, key);
+	g_ptr_array_remove_fast(vhffsfs.quotacachekeys, vcq->key);
+	g_hash_table_remove(vhffsfs.quotacacheused, vcq->key);
 	free(vcq->dq);
 	free(vcq->key);
 	free(vcq);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/