diff options
author | worldcitizen <worldcitizen@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-12-23 23:14:28 +0000 |
---|---|---|
committer | worldcitizen <worldcitizen@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-12-23 23:14:28 +0000 |
commit | 54b602b66880d0c9dc43ed9bdc1c5e078cd3dd5d (patch) | |
tree | a4e7e20e64afef193ac7cc0189368759d0f4eff8 /navit/file.c | |
parent | d33e5f09cd2503a196289db7edc1b1965d688fc2 (diff) | |
download | navit-54b602b66880d0c9dc43ed9bdc1c5e078cd3dd5d.tar.gz |
static int
file_http_request(struct file *file, char *method, char *host, char *path, char *header)
should be
void
file_http_request(struct file *file, char *method, char *host, char *path, char *header)
as nothing is returned
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3817 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/file.c')
-rw-r--r-- | navit/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/file.c b/navit/file.c index ea9d9abc7..e00f20a25 100644 --- a/navit/file.c +++ b/navit/file.c @@ -108,7 +108,7 @@ file_socket_connect(char *host, char *service) } #endif -static int +void file_http_request(struct file *file, char *method, char *host, char *path, char *header) { char *request=g_strdup_printf("%s %s HTTP/1.0\r\nUser-Agent: navit %s\r\nHost: %s%s%s%s\r\n\r\n",method,path,version,host,header?"\r\n":"",header?header:"",header?"\r\n":""); |