Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r1299 committed - Working cleanup, and elimination of a random /*}*/ that confuses brace...

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r1299 committed - Working cleanup, and elimination of a random /*}*/ that confuses brace...


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r1299 committed - Working cleanup, and elimination of a random /*}*/ that confuses brace...
  • Date: Mon, 06 Apr 2015 15:14:42 +0000

Revision: 1299
Author:

Date: Mon Apr 6 15:14:23 2015 UTC
Log: Working cleanup, and elimination of a random /*}*/ that confuses brace-matching in vim.
https://code.google.com/p/ndt/source/detail?r=1299

Modified:
/branches/websockets/src/web100srv.c

=======================================
--- /branches/websockets/src/web100srv.c Mon Mar 23 22:59:30 2015 UTC
+++ /branches/websockets/src/web100srv.c Mon Apr 6 15:14:23 2015 UTC
@@ -1444,9 +1444,10 @@
}

/* web100srv.c contains both a main() that runs things, but is also a source of
- * library of code run by other parts of the program. In order to test the
- * other parts, we must to compile this file without the main() function. To
- * do so, pass in -DUSE_WEB100SRV_ONLY_AS_LIBRARY as a compile-time option.
+ * library code run by other parts of the program. In order to test those
+ * other parts, we must be able to compile this file without the main()
+ * function. To use this file as a library, pass in
+ * -DUSE_WEB100SRV_ONLY_AS_LIBRARY as a compile-time option.
*/
#ifndef USE_WEB100SRV_ONLY_AS_LIBRARY
/**
@@ -2166,7 +2167,6 @@
if ((waiting > 0) && (testing == 0)) // no clients waiting, no test
// in progress
goto ChldRdy;
- /* } */
clilen = sizeof(cli_addr);
memset(&cli_addr, 0, clilen);
log_println(6, "Select() found %d clients ready, highest fd=%d",
@@ -2754,7 +2754,7 @@
}
}
}
-#endif
+#endif // USE_WEB100SRV_ONLY_AS_LIBRARY

/**
* Method to get remote host's address.


  • [ndt-dev] [ndt] r1299 committed - Working cleanup, and elimination of a random /*}*/ that confuses brace..., ndt, 04/06/2015

Archive powered by MHonArc 2.6.16.

Top of Page