summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorNick White <arch@njw.me.uk>2008-05-01 02:32:40 +0000
committerNick White <arch@njw.me.uk>2008-05-01 02:32:40 +0000
commit8e215729e7f45b1c9e17f8451046b7b5c04943e6 (patch)
treed50ff42f0973e1dcbf5bb2c0d3e547b8fb81cb7d /src/config.c
parent3d021ebe4a334822cabce84410b99891f4614bdc (diff)
Aesthetic: improved consistency of uri terminology
Switched any references to 'url' to 'uri' git-archimport-id: getht@sv.gnu.org/getht--mainline--0.1--patch-43
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/config.c b/src/config.c
index 714bbf9..778ad3b 100644
--- a/src/config.c
+++ b/src/config.c
@@ -29,7 +29,7 @@ extern long proxy_port;
extern proxyauth proxy_auth;
extern char proxy_user[STR_MAX];
extern char proxy_pass[STR_MAX];
-extern char issue_url[STR_MAX];
+extern char issue_uri[STR_MAX];
int loadconfig(char * htde_path, char * issue_path, int * update)
/* Loads variables from config file to extern and passed
@@ -56,8 +56,8 @@ int loadconfig(char * htde_path, char * issue_path, int * update)
strncpy(issue_path, parameter, STR_MAX);
else if(!strcmp(option, "startup_check"))
*update = atoi(parameter);
- else if(!strcmp(option, "toc_url"))
- strncpy(issue_url, parameter, STR_MAX);
+ else if(!strcmp(option, "toc_uri"))
+ strncpy(issue_uri, parameter, STR_MAX);
else if(!strcmp(option, "proxy_type"))
{
if(!strcmp(parameter, "http"))
@@ -119,8 +119,8 @@ int writefreshconfig(char * htde_path, char * issue_path, int * update)
fprintf(config_file, "%s = %s\n", "issuepath", issue_path);
if(update)
fprintf(config_file, "%s = %i\n", "startup_check", *update);
- if(issue_url[0])
- fprintf(config_file, "%s = %s\n", "toc_url", issue_url);
+ if(issue_uri[0])
+ fprintf(config_file, "%s = %s\n", "toc_uri", issue_uri);
if(proxy_type != NONE)
{
if(proxy_type = HTTP)