summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-03-17 08:22:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-03-17 08:22:50 +0000
commit38295e8a75c5189fbb382c0bcb5720e47778e61a (patch)
treea2366ee83835bd3d16dff50c62bd82559050cd3c
parentf9612b5eafbec0c562913c0707290a4c3ffc3969 (diff)
downloadgnurl-38295e8a75c5189fbb382c0bcb5720e47778e61a.tar.gz
gnurl-38295e8a75c5189fbb382c0bcb5720e47778e61a.tar.bz2
gnurl-38295e8a75c5189fbb382c0bcb5720e47778e61a.zip
slight rewording based on debian bug report #357388 by Justin Pryzby
-rw-r--r--docs/libcurl/curl_getenv.37
1 files changed, 3 insertions, 4 deletions
diff --git a/docs/libcurl/curl_getenv.3 b/docs/libcurl/curl_getenv.3
index fab2e5e73..37a5979a7 100644
--- a/docs/libcurl/curl_getenv.3
+++ b/docs/libcurl/curl_getenv.3
@@ -18,10 +18,9 @@ will instead be made "available" by source code access only, and then as
curlx_getenv().
.SH RETURN VALUE
If successful, curl_getenv() returns a pointer to the value of the specified
-environment. The memory it refers to is malloc()ed why the application must
-free() this when the data has completed to serve its purpose. When
-.I curl_getenv(3)
-fails to find the specified name, it returns a null pointer.
+environment. The memory it refers to is malloc()ed so the application must
+free() this when the data is no longer needed. When \fIcurl_getenv(3)\fP fails
+to find the specified name, it returns a null pointer.
.SH NOTE
Under unix operating systems, there isn't any point in returning an allocated
memory, although other systems won't work properly if this isn't done. The