summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeffschroed <jeffschroed@c587cffe-e639-0410-9787-d7902ae8ed56>2008-01-09 21:21:42 +0000
committerjeffschroed <jeffschroed@c587cffe-e639-0410-9787-d7902ae8ed56>2008-01-09 21:21:42 +0000
commitbd4b5cd681e9b9cfac9a3b22974bf5d849cf9701 (patch)
tree4e145c6989ccb498db469eab866170e4f1412ada
parent40c6f58706719c5353a38e6f526773257542dd10 (diff)
downloadlibproxy-bd4b5cd681e9b9cfac9a3b22974bf5d849cf9701.tar.gz
Removing duplicated strdup function
git-svn-id: http://libproxy.googlecode.com/svn/branches/jeff-dev@208 c587cffe-e639-0410-9787-d7902ae8ed56
-rw-r--r--src/bin/proxy.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/bin/proxy.c b/src/bin/proxy.c
index b980a48..4fd6681 100644
--- a/src/bin/proxy.c
+++ b/src/bin/proxy.c
@@ -28,15 +28,6 @@
#define STDIN fileno(stdin)
-static char *
-strdup(char *string)
-{
- char *result = malloc(strlen(string));
- assert(result != NULL);
- strcpy(result, string);
- return result;
-}
-
/**
* Reads a single line of text from the specified file descriptor
* @fd File descriptor to read from