Menu

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

1.6.x
closed
core (110)
5
2011-06-21
2011-03-15
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
     

Log in to post a comment.