X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frcvtty.c;h=5bdddb233dd61b66ba9aa34ed4bf124ba7328deb;hp=69a903116fe56e9ed9633b962a56ada26fa756fa;hb=aae44c933a5b035e0b23abf4dd4247cd37e4d041;hpb=e1aadb9e23f706d4b19f49d1e7a6995a5b3c59e2 diff --git a/uip/rcvtty.c b/uip/rcvtty.c index 69a9031..5bdddb2 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -197,8 +197,8 @@ message_fd (char **vec) unlink (mktemp (strncpy (tmpfil, "/tmp/rcvttyXXXXX", sizeof(tmpfil)))); if ((fd = open (tmpfil, O_RDWR | O_CREAT | O_TRUNC, 0600)) == NOTOK) return header_fd (); - unlink (tmpfil); #endif + unlink (tmpfil); if ((child_id = vfork()) == NOTOK) { /* fork error */