Updating user programs to use <h/tws> instead of <zotnet/tws/tws.h>
[mmh] / uip / dropsbr.c
index 857263a..6089a22 100644 (file)
@@ -11,7 +11,7 @@
 # include <h/mh.h>
 # include <h/dropsbr.h>
 # include <zotnet/mts/mts.h>
-# include <zotnet/tws/tws.h>
+# include <h/tws.h>
 #else
 # include "dropsbr.h"
 # include "strings.h"
@@ -408,8 +408,7 @@ mbx_copy (char *mailbox, int mbx_style, int md, int fd,
                        strncpy(tmpbuffer, buffer, sizeof(tmpbuffer));
                        ep = "nobody@nowhere";
                        tp = dctime(dlocaltimenow());
-                       snprintf (buffer, sizeof(buffer), "From %s  %s", ep, tp);
-                       strcat (buffer, tmpbuffer);
+                       snprintf (buffer, sizeof(buffer), "From %s  %s%s", ep, tp, tmpbuffer);
                    }
                }