View Single Post
  #3  
Old 02-11-2007, 05:28 AM
mabonyi mabonyi is offline
Member
 
Join Date: Sep 2006
Posts: 17
Default LSAPI warnings

At least for the ENV problem, I presume it appears because you are adding some LiteSpeed specific values to ENV. If you are doing this in Ruby, just wrap your constant resetting with this code:

old_verbose, $VERBOSE = $VERBOSE, nil
(set constant here)
$VERBOSE = old_verbose

It will prevent the warning from appearing. The equivalent in C should be pretty similar (other than the parallel assignment).
Reply With Quote