summaryrefslogtreecommitdiffstats
path: root/src/modem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modem.c')
-rw-r--r--src/modem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modem.c b/src/modem.c
index 209033f2..bbb7db17 100644
--- a/src/modem.c
+++ b/src/modem.c
@@ -200,10 +200,10 @@ int __ofono_modem_add_atom_watch(struct ofono_modem *modem,
void *data, ofono_destroy_func destroy)
{
struct ofono_atom_watch *watch;
-
+
if (notify == NULL)
return 0;
-
+
watch = g_new0(struct ofono_atom_watch, 1);
watch->type = type;