summaryrefslogtreecommitdiff
path: root/src/http_proxy_functions.h
diff options
context:
space:
mode:
authorJoshua Judson Rosen2015-02-16 23:33:02 -0500
committerJoshua Judson Rosen2015-02-16 23:33:02 -0500
commitb3be641eeddce360692d3a3e872d769f86f1b293 (patch)
treedcb07ecbb9a04ff7e7cbe5adfeb246de87e354d6 /src/http_proxy_functions.h
parentVC: ignore backup-files. (diff)
downloadapf-b3be641eeddce360692d3a3e872d769f86f1b293.tar.gz
Nix mysleep().
Just use sleep() where only whole-second resolution is used to delay between reconnect-attempts; and nanosleep where sub-second resolution is used. sleep() should actually be OK, because we don't intermix those calls with alarm() or any other signals or itimer functions. nanosleep() should be OK because POSIX.1-2001 requires that it not have the crazy signal interactions that its predecessors are known for.
Diffstat (limited to 'src/http_proxy_functions.h')
-rw-r--r--src/http_proxy_functions.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/http_proxy_functions.h b/src/http_proxy_functions.h
index 3d29699..1b10f9a 100644
--- a/src/http_proxy_functions.h
+++ b/src/http_proxy_functions.h
@@ -72,7 +72,6 @@ typedef struct {
} connection;
int myrand(int, int);
-void mysleep(double);
int parse_header(SslFd*, char*, header*, char);
int read_message(int, int, connection*, char*, int);
void delete_user(connection*, int, fd_set*);