summaryrefslogtreecommitdiff
path: root/modules/mwi/mwi.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2014-09-22 23:53:21 +0200
committerAlfred E. Heggestad <aeh@db.org>2014-09-22 23:53:21 +0200
commitb441dc34dc8273ab9ad417a6746e96f944d32dcd (patch)
treebe00e859dbc4bb47141a3de7b1ddb1fc4d43d2e9 /modules/mwi/mwi.c
parentdc56c28f8e4680834c2024096d8132a1b80ea9b0 (diff)
fix whitespace, use TAB for indentation
the python-program ccheck.py can be used to verify that the source code does not contain any whitespace errors: https://github.com/alfredh/pytools/blob/master/ccheck.py how to use it: $ cd baresip $ ccheck.py
Diffstat (limited to 'modules/mwi/mwi.c')
-rw-r--r--modules/mwi/mwi.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/mwi/mwi.c b/modules/mwi/mwi.c
index cfc6d9f..9bea26a 100644
--- a/modules/mwi/mwi.c
+++ b/modules/mwi/mwi.c
@@ -92,7 +92,7 @@ static int mwi_subscribe(struct ua *ua)
"Accept:"
" application/simple-message-summary\r\n");
if (err) {
- warning("mwi: subscribe ERROR: %m\n", err);
+ warning("mwi: subscribe ERROR: %m\n", err);
}
if (err)
@@ -115,8 +115,8 @@ static void ua_event_handler(struct ua *ua,
return;
if (ev == UA_EVENT_REGISTER_OK) {
- uag_event_unregister(ua_event_handler);
- mwi_subscribe(ua);
+ uag_event_unregister(ua_event_handler);
+ mwi_subscribe(ua);
}
}
@@ -131,9 +131,9 @@ static void tmr_handler(void *arg)
struct ua *ua = le->data;
struct account *acc = ua_account(ua);
if (account_regint(acc) > 0)
- uag_event_register(ua_event_handler, ua);
+ uag_event_register(ua_event_handler, ua);
else
- mwi_subscribe(ua);
+ mwi_subscribe(ua);
}
}