SF.net SVN: mahogany: [7180] trunk/M/lib/dspam/src/util.c

[email protected]
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
Revision: 7180
          http://svn.sourceforge.net/mahogany/?rev=7180&view=rev
Author:   vadz
Date:     2006-12-23 15:07:53 -0800 (Sat, 23 Dec 2006)

Log Message:
-----------
modified _ds_userdir_path() to create files directly in dspam home directory instead of using data/mahogany subdir (this is used for e.g. the main database file)

Modified Paths:
--------------
    trunk/M/lib/dspam/src/util.c

Modified: trunk/M/lib/dspam/src/util.c
===================================================================
--- trunk/M/lib/dspam/src/util.c	2006-12-23 22:42:58 UTC (rev 7179)
+++ trunk/M/lib/dspam/src/util.c	2006-12-23 23:07:53 UTC (rev 7180)
@@ -370,8 +370,8 @@
     snprintf(path, MAX_FILENAME_LENGTH, "%s/.dspam/%s.%s", userhome, username,
              extension);
 #else
-    snprintf (path, MAX_FILENAME_LENGTH, "%s/data/%s/%s.%s",
-              home, userpath, username, extension);
+    snprintf (path, MAX_FILENAME_LENGTH, "%s/%s.%s",
+              home, username, extension);
 #endif
   }
 #endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
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.