mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
netfile: fix compiler warning (defined but not used)
Origin commit data
------------------
Branch: ni/coolstream
Commit: 1f9d883c4e
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-01-19 (Sun, 19 Jan 2020)
Origin message was:
------------------
- netfile: fix compiler warning (defined but not used)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -196,7 +196,7 @@ STATIC STREAM_TYPE stream_type[CACHEENTMAX];
|
|||||||
static int ConnectToServer(char *hostname, int port);
|
static int ConnectToServer(char *hostname, int port);
|
||||||
static int parse_response(URL *url, void *, CSTATE*);
|
static int parse_response(URL *url, void *, CSTATE*);
|
||||||
static int request_file(URL *url);
|
static int request_file(URL *url);
|
||||||
static void readln(int, char *);
|
//static void readln(int, char *);
|
||||||
static int getCacheSlot(FILE *fd);
|
static int getCacheSlot(FILE *fd);
|
||||||
static int push(FILE *fd, char *buf, long len);
|
static int push(FILE *fd, char *buf, long len);
|
||||||
static int pop(FILE *fd, char *buf, long len);
|
static int pop(FILE *fd, char *buf, long len);
|
||||||
@@ -582,12 +582,14 @@ int request_file(URL *url)
|
|||||||
b[i] = 0; \
|
b[i] = 0; \
|
||||||
} }
|
} }
|
||||||
|
|
||||||
|
/*
|
||||||
void readln(int fd, char *buf)
|
void readln(int fd, char *buf)
|
||||||
{
|
{
|
||||||
for(recv(fd, buf, 1, 0); (buf && isalnum(*buf)); recv(fd, ++buf, 1, 0)){};
|
for(recv(fd, buf, 1, 0); (buf && isalnum(*buf)); recv(fd, ++buf, 1, 0)){};
|
||||||
if(buf)
|
if(buf)
|
||||||
*buf = 0;
|
*buf = 0;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
int parse_response(URL *url, void * /*opt*/, CSTATE *state)
|
int parse_response(URL *url, void * /*opt*/, CSTATE *state)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user