Revision: 7257
http://svn.sourceforge.net/mahogany/?rev=7257&view=rev
Author: vadz
Date: 2007-04-30 05:03:04 -0700 (Mon, 30 Apr 2007)
Log Message:
-----------
don't create dir_handles under Win32 as we don't use it there anyhow
Modified Paths:
--------------
trunk/M/lib/dspam/src/hash_drv.c
Modified: trunk/M/lib/dspam/src/hash_drv.c
===================================================================
--- trunk/M/lib/dspam/src/hash_drv.c 2007-04-29 00:39:19 UTC (rev 7256)
+++ trunk/M/lib/dspam/src/hash_drv.c 2007-04-30 12:03:04 UTC (rev 7257)
@@ -551,7 +551,9 @@
}
CTX->storage = s;
+#ifndef _WIN32
s->dir_handles = nt_create (NT_INDEX);
+#endif
if (_hash_drv_get_spamtotals (CTX))
{
@@ -593,8 +595,8 @@
closedir (dir);
node_nt = c_nt_next (s->dir_handles, &c_nt);
}
+ nt_destroy (s->dir_handles);
#endif /* _WIN32 */
- nt_destroy (s->dir_handles);
if (CTX->operating_mode != DSM_CLASSIFY)
_hash_drv_set_spamtotals (CTX);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.