From 39d0d787d20b29ed57b10477340c7d000041d31d Mon Sep 17 00:00:00 2001 From: Julien Chaffraix Date: Mon, 7 Feb 2011 22:12:37 -0800 Subject: test1304: Added some unit tests for Curl_parsenetrc. Moved some definitons into the header file so that we can reuse them. --- lib/netrc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/netrc.c') diff --git a/lib/netrc.c b/lib/netrc.c index 7e0447d23..b069c8c49 100644 --- a/lib/netrc.c +++ b/lib/netrc.c @@ -61,11 +61,6 @@ enum host_lookup_state { HOSTEND /* LAST enum */ }; -/* make sure we have room for at least this size: */ -#define LOGINSIZE 64 -#define PASSWORDSIZE 64 - -/* returns -1 on failure, 0 if the host is found, 1 is the host isn't found */ int Curl_parsenetrc(const char *host, char *login, char *password, -- cgit v1.2.1