Update of /cvsroot/radmind/radmind-pc/common
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28567/common
Modified Files:
rmdirs.c tls.c
Log Message:
Recompiled with new version of Openssl and libsnet. Fixed uploading transcript of size 0 bytes error.
Index: tls.c
===================================================================
RCS file: /cvsroot/radmind/radmind-pc/common/tls.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** tls.c 13 Aug 2005 02:33:20 -0000 1.1
--- tls.c 13 Jun 2007 16:17:40 -0000 1.2
***************
*** 4,9 ****
*/
- //#include "config.h"
-
#define WIN32_LEAN_AND_MEAN
#include <winsock2.h>
--- 4,7 ----
***************
*** 11,19 ****
#include <sys/types.h>
- //#include <sys/param.h>
- //#include <sys/time.h>
-
- //#include <netinet/in.h> /* For inet_aton */
- //#include <arpa/inet.h>
#include <openssl/ssl.h>
--- 9,12 ----
***************
*** 26,30 ****
#include <string.h>
! #include <snet.h>
/* what kind of hostname were we given? */
--- 19,23 ----
#include <string.h>
! #include <libsnet/snet.h>
/* what kind of hostname were we given? */
***************
*** 286,290 ****
/* Is this an exact match? */
! if (( len1 == sl ) && !strnicmp( host, sn, len1 )) {
/* Found! */
if ( verbose ) {
--- 279,283 ----
/* Is this an exact match? */
! if (( len1 == sl ) && !_strnicmp( host, sn, len1 )) {
/* Found! */
if ( verbose ) {
***************
*** 298,302 ****
if ( domain && ( sn[0] == '*' ) && ( sn[1] == '.' ) &&
( len2 == sl-1 ) &&
! strnicmp( domain, &sn[1], len2 )) {
/* Found! */
if ( verbose ) {
--- 291,295 ----
if ( domain && ( sn[0] == '*' ) && ( sn[1] == '.' ) &&
( len2 == sl-1 ) &&
! _strnicmp( domain, &sn[1], len2 )) {
/* Found! */
if ( verbose ) {
Index: rmdirs.c
===================================================================
RCS file: /cvsroot/radmind/radmind-pc/common/rmdirs.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** rmdirs.c 19 Aug 2005 01:57:41 -0000 1.2
--- rmdirs.c 13 Jun 2007 16:17:40 -0000 1.3
***************
*** 33,37 ****
int i;
! name_temp = strdup( dir );
name_ptr = name_temp;
len = strlen( name_temp );
--- 33,37 ----
int i;
! name_temp = _strdup( dir );
name_ptr = name_temp;
len = strlen( name_temp );
|