* uip/sendsbr.c: replaced st_mtim with st_mtime, that's what
authorDavid Levine <levinedl@acm.org>
Sat, 25 Feb 2006 14:14:06 +0000 (14:14 +0000)
committerDavid Levine <levinedl@acm.org>
Sat, 25 Feb 2006 14:14:06 +0000 (14:14 +0000)
  it should have been.  Added #include of h/tws.h to pick up
  dtime() prototype.

ChangeLog
uip/sendsbr.c

index 2e6103c..7dfd16a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-25  David Levine <levinedl@acm.org>
+
+       * uip/sendsbr.c: replaced st_mtim with st_mtime, that's what
+       it should have been.  Added #include of h/tws.h to pick up
+       dtime() prototype.
+
 2006-02-20  David Levine <levinedl@acm.org>
 
        * h/mh.h, h/prototypes.h, uip/mhbuildsbr.c, uip/send.c,
index a43627f..cc15a0f 100644 (file)
@@ -15,6 +15,7 @@
 #include <signal.h>
 #include <fcntl.h>
 #include <h/mime.h>
+#include <h/tws.h>
 #include <h/utils.h>
 
 #ifdef TIME_WITH_SYS_TIME
@@ -498,7 +499,7 @@ make_mime_composition_file_entry(char *file_name, int attachformat)
         (void) fprintf (composition_file,
                         "#%s <>{attachment; modification-date=\"%s\"}",
                         content_type,
-                        dtime (&st.st_mtim, 0));
+                        dtime (&st.st_mtime, 0));
 
         break;
     default: