Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#363 can not check is $argv[name] exists

1.6.x
closed
core (110)
5
2011-06-21
2011-03-15
Victor Gamov
No

When I try to check $argv[name] like
if ( $argv[name] == null )
and command line option '-o name=val' is not specifiend then error occured and OpenSIP not started
ERROR:core:pv_parse_spec: pvar "argv" has an invalid name param [name]

1.6.3 and 1.6.4 fails

Discussion

  • Victor Gamov
    Victor Gamov
    2011-03-15

    read as:
    if ( $argv(name) == null )

     
  • Anca Vamanu
    Anca Vamanu
    2011-03-16

    • assigned_to: nobody --> razvancrainea
     
  • Razvan Crainea
    Razvan Crainea
    2011-03-16

    Hello Victor,

    I have just committed a fix for this. Please let me know if your problem is solved.

    Regards,
    Razvan

     
  • Razvan Crainea
    Razvan Crainea
    2011-06-21

    • status: open --> closed