[scp.c]
     scratch that do { } while (0) wrapper in this case
This commit is contained in:
Darren Tucker 2004-11-05 20:10:02 +11:00
parent 178fa66a64
commit f30e1acc62
2 changed files with 6 additions and 3 deletions

View File

@ -26,6 +26,9 @@
- mickey@cvs.openbsd.org 2004/09/15 18:42:27
[sshd.c]
use less doubles in daemons; markus@ ok
- deraadt@cvs.openbsd.org 2004/09/15 18:46:04
[scp.c]
scratch that do { } while (0) wrapper in this case
20041102
- (dtucker) [configure.ac includes.h] Bug #947: Fix compile error on HP-UX
@ -1805,4 +1808,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.3568 2004/11/05 09:09:09 dtucker Exp $
$Id: ChangeLog,v 1.3569 2004/11/05 09:10:02 dtucker Exp $

4
scp.c
View File

@ -71,7 +71,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: scp.c,v 1.117 2004/08/11 21:44:32 avsm Exp $");
RCSID("$OpenBSD: scp.c,v 1.118 2004/09/15 18:46:04 deraadt Exp $");
#include "xmalloc.h"
#include "atomicio.h"
@ -726,7 +726,7 @@ sink(int argc, char **argv)
#define atime tv[0]
#define mtime tv[1]
#define SCREWUP(str) do { why = str; goto screwup; } while (0)
#define SCREWUP(str) { why = str; goto screwup; }
setimes = targisdir = 0;
mask = umask(0);