aboutsummaryrefslogtreecommitdiffstats
path: root/src/notify.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-01-03 21:32:10 +0000
committerFrederic Culot <calcurse@culot.org>2009-01-03 21:32:10 +0000
commit936b6fe3737c760657d82c50fa6b81c3011ffa27 (patch)
treecb909cd269419fdf31134ecc407315765804e7c1 /src/notify.c
parentbf3bce0ab2d6d5fc8448821fbfa29b48a1bb5994 (diff)
downloadcalcurse-936b6fe3737c760657d82c50fa6b81c3011ffa27.tar.gz
calcurse-936b6fe3737c760657d82c50fa6b81c3011ffa27.zip
more code cleanup
Diffstat (limited to 'src/notify.c')
-rwxr-xr-xsrc/notify.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/notify.c b/src/notify.c
index df42edc..f258fb8 100755
--- a/src/notify.c
+++ b/src/notify.c
@@ -1,4 +1,4 @@
-/* $calcurse: notify.c,v 1.34 2009/01/02 22:28:54 culot Exp $ */
+/* $calcurse: notify.c,v 1.35 2009/01/03 21:32:11 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -293,7 +293,7 @@ notify_thread_app (void *arg)
{
notify_app.got_app = 1;
notify_app.time = tmp_app.time;
- notify_app.txt = strdup (tmp_app.txt);
+ notify_app.txt = mem_strdup (tmp_app.txt);
notify_app.state = tmp_app.state;
}
else
@@ -347,7 +347,7 @@ notify_check_added (char *mesg, long start, char state)
{
notify_app.got_app = 1;
notify_app.time = start;
- notify_app.txt = strdup (mesg);
+ notify_app.txt = mem_strdup (mesg);
notify_app.state = state;
}
pthread_mutex_unlock (&notify_app.mutex);
@@ -386,7 +386,7 @@ notify_check_repeated (recur_apoint_llist_node_t *i)
{
notify_app.got_app = 1;
notify_app.time = real_app_time;
- notify_app.txt = strdup (i->mesg);
+ notify_app.txt = mem_strdup (i->mesg);
notify_app.state = i->state;
}
pthread_mutex_unlock (&notify_app.mutex);