summaryrefslogtreecommitdiff
path: root/src/http_proxy_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http_proxy_functions.c')
-rw-r--r--src/http_proxy_functions.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/http_proxy_functions.c b/src/http_proxy_functions.c
index e7bef6f..3e53365 100644
--- a/src/http_proxy_functions.c
+++ b/src/http_proxy_functions.c
@@ -51,21 +51,6 @@ myrand(int down, int up)
}
/*
- * Function name: mysleep
- * Description: Sleeps for the given amount of milliseconds.
- * Arguments: time - the amount of milliseconds to sleep for
- */
-
-void
-mysleep(double time)
-{
- struct timeval tv;
- tv.tv_sec = (int) time;
- tv.tv_usec = (int)(time * 1000000)%1000000;
- select(0, NULL, NULL, NULL, &tv);
-}
-
-/*
* Function name: delete_user
* Description: Deletes the user's connection from the http proxy connections.
* Arguments: cnts - the connection to remove