summaryrefslogtreecommitdiff
path: root/lib/netrc.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-06-10 14:40:46 +0200
committerDaniel Stenberg <daniel@haxx.se>2011-06-10 14:40:46 +0200
commit0f7bea7c3a6ddb0bf43f890c764322faaa3ba561 (patch)
treeef05aacf5e2aea61ae1fca0748dd6e19997e9c8b /lib/netrc.c
parentd5cc77b7449316b6c8374968594f718df567ef7a (diff)
downloadcurl-0f7bea7c3a6ddb0bf43f890c764322faaa3ba561.tar.gz
unittest: mark all unit tested functions
With "@unittest: [num]" in the header comment for each tested function. Shows we have a log way to go still...
Diffstat (limited to 'lib/netrc.c')
-rw-r--r--lib/netrc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/netrc.c b/lib/netrc.c
index efb4076bb..5541a2f29 100644
--- a/lib/netrc.c
+++ b/lib/netrc.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -61,6 +61,9 @@ enum host_lookup_state {
HOSTEND /* LAST enum */
};
+/*
+ * @unittest: 1304
+ */
int Curl_parsenetrc(const char *host,
char *login,
char *password,