~ubuntu-branches/ubuntu/saucy/sflphone/saucy

« back to all changes in this revision

Viewing changes to sflphone-common/src/accountcreator.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2010-12-24 16:33:55 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20101224163355-tkvvikqxbrbav6up
Tags: 0.9.11-1
* New upstream release
* Add new build dependencies on libwebkit-dev and libyaml-dev

* Bump Standards-Version up to 3.9.1
* Bump debhelper compatibility to 8
* Patch another typo in the upstream code (lintian notice)

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
{
51
51
    switch (type) {
52
52
 
53
 
        case SIP_ACCOUNT:
 
53
        case SIP_ACCOUNT: {
 
54
            _debug ("AccountCreator: create account %s", accountID.c_str());
54
55
            return new SIPAccount (accountID);
55
56
            break;
56
 
 
57
 
        case SIP_DIRECT_IP_ACCOUNT:
 
57
        }
 
58
        case SIP_DIRECT_IP_ACCOUNT: {
 
59
            _debug ("AccountCreator: create account IP2IP_PROFILE");
58
60
            return new SIPAccount (IP2IP_PROFILE);
59
61
            break;
 
62
        }
60
63
#ifdef USE_IAX
61
64
 
62
 
        case IAX_ACCOUNT:
 
65
        case IAX_ACCOUNT: {
 
66
            _debug ("AccountCreator: create account %s", accountID.c_str());
63
67
            return new IAXAccount (accountID);
64
68
            break;
 
69
        }
65
70
#endif
 
71
        default:
 
72
            _error ("AccountCreator: Error: unknown account type");
66
73
    }
67
74
 
68
75
    return 0;