diff options
author | jeffschroed <jeffschroed@c587cffe-e639-0410-9787-d7902ae8ed56> | 2008-01-09 21:21:42 +0000 |
---|---|---|
committer | jeffschroed <jeffschroed@c587cffe-e639-0410-9787-d7902ae8ed56> | 2008-01-09 21:21:42 +0000 |
commit | bd4b5cd681e9b9cfac9a3b22974bf5d849cf9701 (patch) | |
tree | 4e145c6989ccb498db469eab866170e4f1412ada | |
parent | 40c6f58706719c5353a38e6f526773257542dd10 (diff) | |
download | libproxy-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.c | 9 |
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 |