From e9eaee6eb50cd566d699b61a4d643f64800b488b Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 25 Apr 2010 19:56:53 +0100 Subject: constified. --- lib/url.c | 2 +- lib/url.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/url.c b/lib/url.c index de9966b4..9e330f8c 100644 --- a/lib/url.c +++ b/lib/url.c @@ -26,7 +26,7 @@ #include "url.h" /* Convert an URL to a url_t structure */ -int url_set( url_t *url, char *set_url ) +int url_set( url_t *url, const char *set_url ) { char s[MAX_STRING+1]; char *i; diff --git a/lib/url.h b/lib/url.h index 8c038c91..55107ad2 100644 --- a/lib/url.h +++ b/lib/url.h @@ -41,4 +41,4 @@ typedef struct url char pass[MAX_STRING+1]; } url_t; -int url_set( url_t *url, char *set_url ); +int url_set( url_t *url, const char *set_url ); -- cgit v1.2.3