From bd4b5cd681e9b9cfac9a3b22974bf5d849cf9701 Mon Sep 17 00:00:00 2001 From: jeffschroed Date: Wed, 9 Jan 2008 21:21:42 +0000 Subject: Removing duplicated strdup function git-svn-id: http://libproxy.googlecode.com/svn/branches/jeff-dev@208 c587cffe-e639-0410-9787-d7902ae8ed56 --- src/bin/proxy.c | 9 --------- 1 file changed, 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 -- cgit v1.2.1