Remove "return 0" from all subroutines which normally return an array or hash

                 Key: VCL-541
             Project: VCL
          Issue Type: Bug
          Components: vcld (backend)
    Affects Versions: 2.2.1
            Reporter: Andy Kurth
            Assignee: Andy Kurth
            Priority: Minor
             Fix For: 2.3

Subroutines which return a hash or array should not return 0 if an error 
occurs.  For example, if the caller assumes a hash is returned and then 
attempts to iterate over the hash, the following error will occur:

Can't use string ("0") as a HASH ref while "strict refs" in use at 
/usr/local/vcl/bin/../lib/VCL/Module/OS/ line 1992

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


Reply via email to