[asterisk-bugs] [Asterisk 0011759]: [patch] small warning added when using Set() or MSet() and variable names with spaces
noreply at bugs.digium.com
noreply at bugs.digium.com
Mon Jan 14 05:04:45 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11759
======================================================================
Reported By: caio1982
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11759
Category: Core-General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 98603
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 01-13-2008 11:36 CST
Last Modified: 01-14-2008 05:04 CST
======================================================================
Summary: [patch] small warning added when using Set() or
MSet() and variable names with spaces
Description:
Spaces before or after variable names (until '=' is reached) may lead to
unexpected results as it's quite difficult to detect this just looking at
the dialplan. Like, Set( x=5) will create ' x' not 'x', the same for Set(y
=5).
Master Murf talked about it long time ago in
http://bugs.digium.com/view.php?id=8251 and I thought it was
added sometime after maybe, but today I started having problem with it
again and didn't notice the damn spaces, so I think it won't hurt adding.
======================================================================
----------------------------------------------------------------------
caio1982 - 01-14-08 05:04
----------------------------------------------------------------------
Actually... none, in my mind I used strchr. Re-uploaded.
Issue History
Date Modified Username Field Change
======================================================================
01-14-08 05:04 caio1982 Note Added: 0076874
======================================================================
More information about the asterisk-bugs
mailing list