2008-01-26 10:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/rddads/adsfunc.c
     ! Warning fixed in ADSGetServerName().

   * contrib/hbtip/sessid.prg
     ! SVN header added.

   * contrib/hbtip/common.mak
     + New file added.

   * contrib/hbtip/Makefile
     * Formatting.

   * source/rtl/gtxwc/gtxwc.c
     ! Formatting.
This commit is contained in:
Viktor Szakats
2008-01-26 09:28:07 +00:00
parent e15b5f14da
commit 093cef71c0
5 changed files with 26 additions and 6 deletions

View File

@@ -8,6 +8,22 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-01-26 10:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/rddads/adsfunc.c
! Warning fixed in ADSGetServerName().
* contrib/hbtip/sessid.prg
! SVN header added.
* contrib/hbtip/common.mak
+ New file added.
* contrib/hbtip/Makefile
* Formatting.
* source/rtl/gtxwc/gtxwc.c
! Formatting.
2008-01-26 10:10 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)
* contrib/hbtip/utils.c
added .ico support to TIP_MIMETYPE

View File

@@ -25,7 +25,7 @@ PRG_SOURCES= \
cgi.prg \
thtml.prg \
sendmail.prg \
sessid.prg
sessid.prg \
PRG_HEADERS= \
thtml.ch \

View File

@@ -26,6 +26,7 @@ LIB_OBJS = \
$(OBJ_DIR)\httpcln$(OBJEXT) \
$(OBJ_DIR)\mail$(OBJEXT) \
$(OBJ_DIR)\popcln$(OBJEXT) \
$(OBJ_DIR)\sessid$(OBJEXT) \
$(OBJ_DIR)\smtpcln$(OBJEXT) \
$(OBJ_DIR)\thtml$(OBJEXT) \
$(OBJ_DIR)\url$(OBJEXT) \

View File

@@ -1,3 +1,7 @@
/*
* $Id$
*/
/*
* xHarbour Project source code:
* Functions to create session id and some utils
@@ -57,8 +61,8 @@
*
*/
#include 'tip.ch'
#include 'common.ch'
#include "tip.ch"
#include "common.ch"
#define SID_LENGTH 25
#define BASE_KEY_STRING "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
@@ -145,4 +149,3 @@ FUNCTION TIP_DATETOGMT( dDate, cTime )
Set( _SET_DATEFORMAT, cOldDateFormat )
RETURN cStr

View File

@@ -2555,11 +2555,11 @@ HB_FUNC( ADSGETSERVERNAME )
{
ADSHANDLE hConnect = HB_ADS_PARCONNECTION( 1 );
UNSIGNED16 usLen = 256;
char buf[ 256 ];
UNSIGNED8 buf[ 256 ];
if( AdsGetServerName( hConnect, buf, &usLen ) == AE_SUCCESS )
{
hb_retclen( buf, usLen );
hb_retclen( ( char * ) buf, usLen );
}
}