projects
/
working
/
SIPServer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e905fa0
)
Defined, not Exists
user/tsbere/server_not_self
author
Thomas Berezansky
<tsbere@mvlc.org>
Tue, 9 Jun 2015 14:39:21 +0000
(10:39 -0400)
committer
Thomas Berezansky
<tsbere@mvlc.org>
Tue, 9 Jun 2015 14:39:21 +0000
(10:39 -0400)
Exists returns true even if set to undef, which we do to "reset".
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Sip/MsgType.pm
patch
|
blob
|
history
diff --git
a/Sip/MsgType.pm
b/Sip/MsgType.pm
index
ab6a86e
..
91bbbd6
100644
(file)
--- a/
Sip/MsgType.pm
+++ b/
Sip/MsgType.pm
@@
-780,7
+780,7
@@
sub handle_sc_status {
$protocol_version = $new_proto;
}
- unless (
exists
$server->{account}) {
+ unless (
defined
$server->{account}) {
# If we haven't logged in yet, go ahead and
# return the SC status anyway, arbitrarily using the
# first account in Perl string sort order to specify