apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1703888 - /apr/apr/branches/1.6.x/include/apr_portable.h
Date Fri, 18 Sep 2015 15:30:49 GMT
Author: minfrin
Date: Fri Sep 18 15:30:48 2015
New Revision: 1703888

URL: http://svn.apache.org/viewvc?rev=1703888&view=rev
Log:
Clarify under what circumstances memory is allocated in apr_os_sock_put().

Modified:
    apr/apr/branches/1.6.x/include/apr_portable.h

Modified: apr/apr/branches/1.6.x/include/apr_portable.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/include/apr_portable.h?rev=1703888&r1=1703887&r2=1703888&view=diff
==============================================================================
--- apr/apr/branches/1.6.x/include/apr_portable.h (original)
+++ apr/apr/branches/1.6.x/include/apr_portable.h Fri Sep 18 15:30:48 2015
@@ -380,7 +380,10 @@ APR_DECLARE(apr_status_t) apr_os_dir_put
                                          apr_pool_t *cont); 
 
 /**
- * Convert a socket from the os specific type to the apr type
+ * Convert a socket from the os specific type to the APR type. If
+ * sock points to NULL, a socket will be created from the pool
+ * provided. If **sock does not point to NULL, the structure pointed
+ * to by sock will be reused and updated with the given socket.
  * @param sock The pool to use.
  * @param thesock The socket to convert to.
  * @param cont The socket we are converting to an apr type.



Mime
View raw message