# HG changeset patch # User Francois Perrad # Date 1451579657 -3600 # Node ID 07ee7736397e603c5a316c7985dd877521c42dd7 # Parent 9169e4e7cbeeeeed7f4ccf976ec9d1ebbb924f20 add the idiomatic do/while(0) in the macro SCREWUP diff -r 9169e4e7cbee -r 07ee7736397e scp.c --- a/scp.c Fri Jan 01 16:30:31 2016 +0100 +++ b/scp.c Thu Dec 31 17:34:17 2015 +0100 @@ -841,7 +841,7 @@ #define atime tv[0] #define mtime tv[1] -#define SCREWUP(str) { why = str; goto screwup; } +#define SCREWUP(str) do { why = str; goto screwup; } while (0) setimes = targisdir = 0; mask = umask(0);