Fixed the bug reported about the mail notification not beint sent until

1998-09-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gnome-cal.c (mail_notify): Fixed the bug reported about the mail
	notification not beint sent until the program was terminated.

svn path=/trunk/; revision=363
This commit is contained in:
Miguel de Icaza
1998-09-07 02:58:08 +00:00
committed by Arturo Espinosa
parent df67e4e802
commit 40be5aa2ab
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
1998-09-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gnome-cal.c (mail_notify): Fixed the bug reported about the mail
notification not beint sent until the program was terminated.
1998-09-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gncal-full-day.c (gncal_full_day_forall): Updated foreach ->

View File

@ -334,7 +334,8 @@ mail_notify (char *mail_address, char *text, time_t app_time)
"Subject: ", _("Reminder of your appointment at "),
ctime (&app_time), "\n\n", text, "\n", NULL);
write (p [1], command, strlen (command));
close (p [1]);
close (p [0]);
g_free (command);
}

View File

@ -334,7 +334,8 @@ mail_notify (char *mail_address, char *text, time_t app_time)
"Subject: ", _("Reminder of your appointment at "),
ctime (&app_time), "\n\n", text, "\n", NULL);
write (p [1], command, strlen (command));
close (p [1]);
close (p [0]);
g_free (command);
}