X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fsend.c;h=8409654d1a0d6072877812c458dfcda907a24add;hp=43f4c0223de8178415429889a6eb0627dc408f67;hb=2f689a1cb907a5de04e6d39ffd217a69af3216c7;hpb=7b98850d3b8b2453b473fdfb6db52f4aa3fe39b6 diff --git a/uip/send.c b/uip/send.c index 43f4c02..8409654 100644 --- a/uip/send.c +++ b/uip/send.c @@ -423,7 +423,7 @@ go_to_it: && (distsw = atoi (cp)) && altmsg) { vec[vecp++] = "-dist"; - distfile = getcpy (m_scratch (altmsg, invo_name)); + distfile = getcpy (m_mktemp2 (altmsg, invo_name, NULL, NULL)); if (link (altmsg, distfile) == NOTOK) { if (errno != EXDEV #ifdef EISREMOTE @@ -432,7 +432,7 @@ go_to_it: ) adios (distfile, "unable to link %s to", altmsg); free (distfile); - distfile = getcpy (m_tmpfil (invo_name)); + distfile = getcpy (m_mktemp2(NULL, invo_name, NULL, NULL)); { int in, out; struct stat st;