Remove superfluous trailing white space from C files
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* @file aqp_opalstatus.c
|
||||
* @brief
|
||||
* @brief
|
||||
* Implements a simple protocol to GET reactor status using an HTTP/1.1 GET.
|
||||
* It sets the UserAgent as SICS to avoid re-directs because we don't handle them.
|
||||
* If the HTTP status is not OK then it returns the status in the data buffer.
|
||||
@@ -17,7 +17,7 @@
|
||||
#endif
|
||||
#define HOST "Host: neutron.ansto.gov.au\r\n"
|
||||
|
||||
enum replystates {START, HEADER, CHKHEADEREND, MSG};
|
||||
enum replystates {START, HEADER, CHKHEADEREND, MSG};
|
||||
static pAsyncProtocol OPAL_Protocol = NULL;
|
||||
|
||||
static int OPAL_Tx(pAsyncProtocol p, pAsyncTxn txn) {
|
||||
@@ -82,7 +82,7 @@ static int OPAL_Rx(pAsyncProtocol p, pAsyncTxn txn, int ch) {
|
||||
}
|
||||
break;
|
||||
case MSG:
|
||||
if (txn->inp_idx >= txn->inp_len)
|
||||
if (txn->inp_idx >= txn->inp_len)
|
||||
ret = AQU_POP_CMD;
|
||||
if (nlctr == 0 && ch != '\n')
|
||||
txn->inp_buf[txn->inp_idx++] = ch;
|
||||
|
||||
Reference in New Issue
Block a user