2012-10-12 14:19 UTC+0200 Viktor Szakats (harbour syenar.net)
* contrib/hbhttpd/core.prg
* contrib/hbhttpd/widgets.prg
* contrib/hbpgsql/tests/cache.prg
* extras/hbxlsxml/xlsxml_s.prg
* extras/hbxlsxml/xlsxml_y.prg
* extras/hbxlsxml/xlsxml.prg
* extras/httpsrv/cgifunc.prg
* extras/httpsrv/cookie.prg
* extras/httpsrv/session.prg
* extras/httpsrv/uhttpd.prg
* src/rtl/dirscan.prg
% LTRIM(STR(x,y)) converted to hb_ntos() where y had
no significance or just limited the width unnecessarily
% ValType() usage converted to HB_IS*() or optimized
by rearragement of code or using SWITCH/CASE
This commit is contained in:
@@ -138,7 +138,7 @@ METHOD SetCookie( cCookieName, xValue, cDomain, cPath, cExpires, lSecure, lHttpO
|
||||
IF cExpires != NIL
|
||||
cStr += "; expires=" + cExpires
|
||||
ENDIF
|
||||
IF ValType( lSecure ) == "L" .AND. lSecure
|
||||
IF HB_ISLOGICAL( lSecure ) .AND. lSecure
|
||||
cStr += "; secure"
|
||||
ENDIF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user