[R-gregmisc-commits] r2139 - pkg/gtools/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Aug 15 21:13:14 CEST 2016


Author: warnes
Date: 2016-08-15 21:13:14 +0200 (Mon, 15 Aug 2016)
New Revision: 2139

Modified:
   pkg/gtools/src/setTCPNoDelay.c
Log:
checkStatus() was not correctly getting the error message.

Modified: pkg/gtools/src/setTCPNoDelay.c
===================================================================
--- pkg/gtools/src/setTCPNoDelay.c	2016-08-15 19:11:04 UTC (rev 2138)
+++ pkg/gtools/src/setTCPNoDelay.c	2016-08-15 19:13:14 UTC (rev 2139)
@@ -98,7 +98,7 @@
                        );
 
 
-  checkStatus(*status, status_str[0], *status_len);
+  checkStatus(errno, status_str[0], *status_len);
   
   return;
 }



More information about the R-gregmisc-commits mailing list