Commit 17ab45b9 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

XlibInt.c: reformat some comments

parent e9f628fd
...@@ -128,14 +128,12 @@ xthread_t (*_Xthread_self_fn)(void) = NULL; ...@@ -128,14 +128,12 @@ xthread_t (*_Xthread_self_fn)(void) = NULL;
static struct timeval retry; static struct timeval retry;
/* /*
* From Xtranssock.c. Presently the congestion state * From Xtranssock.c. Presently the congestion state is reported by
* is reported by the proxy to the application, by * the proxy to the application, by invoking the callback
* invoking the callback directly. The function will * directly. The function will be possibly used in the future, to be
* be possibly used in the future, to be able to track * able to track the bandwidth usage even when the NX transport is not
* the bandwidth usage even when the NX transport is * running. Note that in this sample implementation the congestion
* not running. Note that in this sample implementation * state is checked very often and can be surely optimized.
* the congestion state is checked very often and can
* be surely optimized.
*/ */
#ifdef NX_TRANS_CHANGE #ifdef NX_TRANS_CHANGE
...@@ -2207,9 +2205,8 @@ _XReply ( ...@@ -2207,9 +2205,8 @@ _XReply (
#ifdef NX_TRANS_SOCKET #ifdef NX_TRANS_SOCKET
/* /*
* We are going to block waiting for the remote * We are going to block waiting for the remote X server. Be sure
* X server. Be sure that the proxy has flushed * that the proxy has flushed all the data.
* all the data.
*/ */
#ifdef NX_TRANS_TEST #ifdef NX_TRANS_TEST
...@@ -2283,8 +2280,8 @@ _XReply ( ...@@ -2283,8 +2280,8 @@ _XReply (
UnlockNextReplyReader(dpy); UnlockNextReplyReader(dpy);
#ifdef NX_TRANS_SOCKET #ifdef NX_TRANS_SOCKET
/* /*
* The original code has provision * The original code has provision for returning
* for returning already. * already.
*/ */
#endif #endif
_XIOError (dpy); _XIOError (dpy);
...@@ -2413,8 +2410,7 @@ _XAsyncReply( ...@@ -2413,8 +2410,7 @@ _XAsyncReply(
#ifdef NX_TRANS_SOCKET #ifdef NX_TRANS_SOCKET
/* /*
* The original code has provision * The original code has provision for returning already.
* for returning already.
*/ */
#endif #endif
...@@ -3726,11 +3722,10 @@ _XIOError ( ...@@ -3726,11 +3722,10 @@ _XIOError (
_XDefaultIOError(dpy); _XDefaultIOError(dpy);
#ifdef NX_TRANS_SOCKET #ifdef NX_TRANS_SOCKET
/* /*
* Check if we are supposed to return in the case * Check if we are supposed to return in the case of a display
* of a display failure. The client which originated * failure. The client which originated the X operation will have
* the X operation will have to check the value of * to check the value of the XlibDisplayIOError flag and handle
* the XlibDisplayIOError flag and handle appropria- * appropriately the display disconnection.
* tely the display disconnection.
*/ */
if (_NXHandleDisplayError == 0) if (_NXHandleDisplayError == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment