diff options
author | Alfred E. Heggestad <aeh@db.org> | 2016-06-06 10:14:12 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2016-06-06 10:14:12 +0200 |
commit | 6910d50e9b1e80fe758b259149012e7e062eecd0 (patch) | |
tree | aecd149deed8ae71349e3b2e626e53f57a9c974a /modules/account/account.c | |
parent | 362914f55831f4ad3afd7c0cad8f01f2f8b4892c (diff) |
net: make networking code re-entrant
- The network instance is now in struct network and does not
use any local/static data
- A new top-level struct in baresip.c owns the single instance
of struct network
it is a long-term goal to remove all local/static data
from libbaresip and make it fully re-entrant.
Diffstat (limited to 'modules/account/account.c')
-rw-r--r-- | modules/account/account.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/account/account.c b/modules/account/account.c index 46a6861..9cd4235 100644 --- a/modules/account/account.c +++ b/modules/account/account.c @@ -45,7 +45,7 @@ static int account_write_template(const char *file) pass = "pass"; } - domain = net_domain(); + domain = net_domain(baresip_network()); if (!domain) domain = "domain"; |