Commits

gustafn committed b304993

- pass seconds explicitly to ns_setexpires

Comments (0)

Files changed (1)

 #   Output headers set may be extended.
 #
 
-proc ns_setexpires {args} {
-
-    set secs [lindex $args [expr {[llength $args] - 1}]]
+proc ns_setexpires {secs} {
     set when [ns_httptime [expr {$secs + [clock seconds]}]]
     ns_set update [ns_conn outputheaders] Expires $when
 }