giftcurs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[giFTcurs-commits] giFTcurs/src format.c


From: Göran Weinholt
Subject: [giFTcurs-commits] giFTcurs/src format.c
Date: Fri, 29 Aug 2003 17:49:07 -0400

CVSROOT:        /cvsroot/giftcurs
Module name:    giFTcurs
Branch:         
Changes by:     Göran Weinholt <address@hidden> 03/08/29 17:49:07

Modified files:
        src            : format.c 

Log message:
        gift.conf was renamed to giftd.conf some time ago.

Patches:
Index: giFTcurs/src/format.c
diff -u giFTcurs/src/format.c:1.65 giFTcurs/src/format.c:1.66
--- giFTcurs/src/format.c:1.65  Sat Aug 23 16:01:44 2003
+++ giFTcurs/src/format.c       Fri Aug 29 17:49:05 2003
@@ -18,7 +18,7 @@
  * along with giFTcurs; if not, write to the Free Software Foundation,
  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307,  USA.
  *
- * $Id: format.c,v 1.65 2003/08/23 20:01:44 weinholt Exp $
+ * $Id: format.c,v 1.66 2003/08/29 21:49:05 weinholt Exp $
  */
 #include "giftcurs.h"
 
@@ -57,24 +57,24 @@
 
        if (download_dir == (char *) 1) {
                /* Initialize. Get the path to downloaded and completed files */
-               /* If server_host is localhost, read download_dir from 
gift.conf */
+               /* If server_host is localhost, read download_dir from 
giftd.conf */
                /* This seems like an ugly hack, and it really is :) */
                /* FIXME: This assumes daemon is run by the same user */
                download_dir = NULL;
                if (!strcmp(server_host, "localhost") || !strcmp(server_host, 
"127.0.0.1")
                        || server_host[0] == '/') {
-                       char *opt = read_gift_config("../gift.conf", 
"[download]", "completed");
+                       char *opt = read_gift_config("../giftd.conf", 
"[download]", "completed");
 
                        if (opt) {
                                download_dir = opt;
-                               DEBUG("got download dir from gift.conf: %s", 
download_dir);
+                               DEBUG("got download dir from giftd.conf: %s", 
download_dir);
                        }
 
-                       opt = read_gift_config("../gift.conf", "[download]", 
"incoming");
+                       opt = read_gift_config("../giftd.conf", "[download]", 
"incoming");
 
                        if (opt) {
                                download_dir2 = opt;
-                               DEBUG("got download dir from gift.conf: %s", 
download_dir2);
+                               DEBUG("got download dir from giftd.conf: %s", 
download_dir2);
                        }
                }
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]