浏览代码

doc tweaks

eihrul 15 年之前
父节点
当前提交
254b4214dc
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      ChangeLog
  2. 1 1
      callbacks.c
  3. 1 1
      docs/mainpage.dox

+ 1 - 1
ChangeLog

@@ -1,7 +1,7 @@
 ENet 1.2.2 (May 20, 2010):
 ENet 1.2.2 (May 20, 2010):
 
 
 * checksum functionality is now enabled by setting a checksum callback
 * checksum functionality is now enabled by setting a checksum callback
-inside ENetHost instead of compile time option 
+inside ENetHost instead of being a configure script option 
 * added totalSentData, totalSentPackets, totalReceivedData, and
 * added totalSentData, totalSentPackets, totalReceivedData, and
 totalReceivedPackets counters inside ENetHost for getting usage
 totalReceivedPackets counters inside ENetHost for getting usage
 statistics
 statistics

+ 1 - 1
callbacks.c

@@ -22,7 +22,7 @@ enet_initialize_with_callbacks (ENetVersion version, const ENetCallbacks * inits
    if (inits -> rand != NULL)
    if (inits -> rand != NULL)
      callbacks.rand = inits -> rand;
      callbacks.rand = inits -> rand;
 
 
-   if (version >= ENET_VERSION_CREATE(1, 2, 2))
+   if (version >= ENET_VERSION_CREATE (1, 2, 2))
    {
    {
       if (inits -> no_memory != NULL)
       if (inits -> no_memory != NULL)
         callbacks.no_memory = inits -> no_memory;
         callbacks.no_memory = inits -> no_memory;

+ 1 - 1
docs/mainpage.dox

@@ -36,7 +36,7 @@ or dependent tasks.
 You can retrieve the source to ENet by downloading it in either .tar.gz form
 You can retrieve the source to ENet by downloading it in either .tar.gz form
 or accessing the cvs distribution directly.
 or accessing the cvs distribution directly.
 
 
-The most recent stable release (1.2.1) can be downloaded <a href="http://enet.bespin.org/download/enet-1.2.1.tar.gz">here</a>.
+The most recent stable release (1.2.2) can be downloaded <a href="http://enet.bespin.org/download/enet-1.2.2.tar.gz">here</a>.
 
 
 To access ENet via anonymous CVS, you must use the CVSROOT
 To access ENet via anonymous CVS, you must use the CVSROOT
 :pserver:anonymous\@bespin.org:/var/lib/cvs/enet with an empty
 :pserver:anonymous\@bespin.org:/var/lib/cvs/enet with an empty