]> diplodocus.org Git - nmh/blobdiff - uip/sendsbr.c
It does just what it says on the tin.
[nmh] / uip / sendsbr.c
index d7e760332b475eb1bed75860a0c008a1866447b1..c8a16a49a90f62525686e2e2f946fefd5439a290 100644 (file)
@@ -120,8 +120,7 @@ sendsbr (char **vec, int vecp, char *program, char *draft, struct stat *st,
        if (pushsw && unique) {
            char *cp = m_mktemp2(drft, invo_name, NULL, NULL);
            if (cp == NULL) {
-               adios(NULL, "unable to create temporary file in %s",
-                     get_temp_dir());
+               adios(NULL, "unable to create temporary file");
            }
            if (rename (drft, strncpy(file, cp, sizeof(file))) == NOTOK)
                adios (file, "unable to rename %s to", drft);
@@ -330,8 +329,7 @@ splitmsg (char **vec, int vecp, char *program, char *drft,
 
        char *cp = m_mktemp2(drft, invo_name, NULL, &out);
         if (cp == NULL) {
-           adios(NULL, "unable to create temporary file in %s",
-                 get_temp_dir());
+           adios(NULL, "unable to create temporary file");
         }
        strncpy(tmpdrf, cp, sizeof(tmpdrf));