[asterisk-scf-commits] asterisk-scf/release/slice.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Fri Feb 18 18:07:39 CST 2011
branch "master" has been updated
via 3710f1976fa50786ce5d5c5ccf9aa19d01613bf8 (commit)
from 3ecc809e33681d696a75670337140db4d51a8b5b (commit)
Summary of changes:
AsteriskSCF/Core/Discovery/ServiceLocatorIf.ice | 2 +-
AsteriskSCF/SIP/SIPExtensionPointIf.ice | 2 +-
.../SessionCommunicationsIf.ice | 2 +-
AsteriskSCF/System/Hook/HookIf.ice | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 3710f1976fa50786ce5d5c5ccf9aa19d01613bf8
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Fri Feb 18 18:07:37 2011 -0600
Add default values for various class/struct members where it makes sense to provide one.
diff --git a/AsteriskSCF/Core/Discovery/ServiceLocatorIf.ice b/AsteriskSCF/Core/Discovery/ServiceLocatorIf.ice
index e25b6da..49e684a 100644
--- a/AsteriskSCF/Core/Discovery/ServiceLocatorIf.ice
+++ b/AsteriskSCF/Core/Discovery/ServiceLocatorIf.ice
@@ -153,7 +153,7 @@ module V1
/** managmenet interface for the server */
ServiceManagement *management;
/** current status */
- ServiceStatus status;
+ ServiceStatus status = Active;
/** the service itself */
Object *service;
};
diff --git a/AsteriskSCF/SIP/SIPExtensionPointIf.ice b/AsteriskSCF/SIP/SIPExtensionPointIf.ice
index b0db305..2b85aa2 100644
--- a/AsteriskSCF/SIP/SIPExtensionPointIf.ice
+++ b/AsteriskSCF/SIP/SIPExtensionPointIf.ice
@@ -154,7 +154,7 @@ module V1
class MD5DigestChallenge extends DigestChallenge
{
// Indicates whether 'MD5' or 'MD5-sess' should be used
- bool sessionMode;
+ bool sessionMode = false;
};
class AKAv1DigestChallenge extends MD5DigestChallenge
diff --git a/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice b/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
index e33311a..01e9c1b 100644
--- a/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
+++ b/AsteriskSCF/SessionCommunications/SessionCommunicationsIf.ice
@@ -86,7 +86,7 @@ module V1
/**
* The duration of the 'connected' time for this session.
*/
- long connectedTime;
+ long connectedTime = 0;
/**
* A textual description of the current state of the session. For
diff --git a/AsteriskSCF/System/Hook/HookIf.ice b/AsteriskSCF/System/Hook/HookIf.ice
index c205a2e..68bd8e0 100644
--- a/AsteriskSCF/System/Hook/HookIf.ice
+++ b/AsteriskSCF/System/Hook/HookIf.ice
@@ -40,7 +40,7 @@ module V1
struct HookResult
{
- HookStatus status;
+ HookStatus status = Succeeded;
string info;
};
-----------------------------------------------------------------------
--
asterisk-scf/release/slice.git
More information about the asterisk-scf-commits
mailing list