I already prepared that, but you were faster...
[EMAIL PROTECTED] wrote:
Author: jfclere
Date: Tue Dec 11 23:57:48 2007
New Revision: 603504
URL: http://svn.apache.org/viewvc?rev=603504&view=rev
Log:
Don't put comment in comments, otherwise it won't compile.
Modified:
tomcat/connectors/trunk/jk/native/common/jk_connect.c
Modified: tomcat/connectors/trunk/jk/native/common/jk_connect.c
URL:
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_connect.c?rev=603504&r1=603503&r2=603504&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_connect.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_connect.c Tue Dec 11 23:57:48
2007
@@ -60,8 +60,8 @@
/** Set socket to blocking
* @param sd socket to manipulate
- * @return errno: fcntl returns -1 /* ! WIN32 */
- * pseudo errno: ioctlsocket returns SOCKET_ERROR /* WIN32 */
+ * @return errno: fcntl returns -1 /0 ! WIN32 0/
+ * pseudo errno: ioctlsocket returns SOCKET_ERROR /0 WIN32 0/
* 0: success
*/
static int soblock(jk_sock_t sd)
@@ -95,8 +95,8 @@
/** Set socket to non-blocking
* @param sd socket to manipulate
- * @return errno: fcntl returns -1 /* ! WIN32 */
- * pseudo errno: ioctlsocket returns SOCKET_ERROR /* WIN32 */
+ * @return errno: fcntl returns -1 /0 ! WIN32 0/
+ * pseudo errno: ioctlsocket returns SOCKET_ERROR /0 WIN32 0/
* 0: success
*/
static int sononblock(jk_sock_t sd)
@@ -542,8 +542,8 @@
/** Close the socket
* @param s socket to close
* @param l logger
- * @return -1: some kind of error occured /* ! WIN32 */
- * SOCKET_ERROR: some kind of error occured /* WIN32 */
+ * @return -1: some kind of error occured /0 ! WIN32 0/
+ * SOCKET_ERROR: some kind of error occured /0 WIN32 0/
* 0: success
*/
int jk_close_socket(jk_sock_t s, jk_logger_t *l)
@@ -574,8 +574,8 @@
* @param s socket to close
* @param l logger
* @return -1: socket to close is invalid
- * -1: some kind of error occured /* ! WIN32 */
- * SOCKET_ERROR: some kind of error occured /* WIN32 */
+ * -1: some kind of error occured /0 ! WIN32 0/
+ * SOCKET_ERROR: some kind of error occured /0 WIN32 0/
* 0: success
*/
int jk_shutdown_socket(jk_sock_t s, jk_logger_t *l)
@@ -638,8 +638,8 @@
* @param b buffer containing the data
* @param len length to send
* @param l logger
- * @return negative errno: write returns a fatal -1 /* ! WIN32 */
- * negative pseudo errno: send returns SOCKET_ERROR /* WIN32 */
+ * @return negative errno: write returns a fatal -1 /0 ! WIN32 0/
+ * negative pseudo errno: send returns SOCKET_ERROR /0 WIN32 0/
* JK_SOCKET_EOF: no bytes could be sent
* >0: success, total size send
* @bug this fails on Unixes if len is too big for the underlying
@@ -677,8 +677,8 @@
* @param b buffer to store the data
* @param len length to receive
* @param l logger
- * @return negative errno: read returns a fatal -1 /* ! WIN32 */
- * negative pseudo errno: recv returns SOCKET_ERROR /* WIN32 */
+ * @return negative errno: read returns a fatal -1 /0 ! WIN32 0/
+ * negative pseudo errno: recv returns SOCKET_ERROR /0 WIN32 0/
* JK_SOCKET_EOF: no bytes could be read
* >0: success, total size received
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]