[Freeswitch-svn] [commit] r10900 - freeswitch/trunk/libs/esl/src
FreeSWITCH SVN
anthm at freeswitch.org
Sun Dec 21 14:14:10 PST 2008
Author: anthm
Date: Sun Dec 21 17:14:10 2008
New Revision: 10900
Log:
windows port
Modified:
freeswitch/trunk/libs/esl/src/esl.c
Modified: freeswitch/trunk/libs/esl/src/esl.c
==============================================================================
--- freeswitch/trunk/libs/esl/src/esl.c (original)
+++ freeswitch/trunk/libs/esl/src/esl.c Sun Dec 21 17:14:10 2008
@@ -824,13 +824,13 @@
}
if (send(handle->sock, cmd, strlen(cmd), 0)) {
- strerror_r(handle->errno, handle->err, sizeof(handle->err));
+ strerror_r(handle->errnum, handle->err, sizeof(handle->err));
return ESL_FAIL;
}
if (!(*e == '\n' && *(e-1) == '\n')) {
if (send(handle->sock, "\n\n", 2, 0)) {
- strerror_r(handle->errno, handle->err, sizeof(handle->err));
+ strerror_r(handle->errnum, handle->err, sizeof(handle->err));
return ESL_FAIL;
}
}
More information about the Freeswitch-svn
mailing list