diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2015-12-31 17:34:17 +0100 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-16 22:41:20 +0800 |
commit | 0650182289344e0d83b20c0cea1024a2306d2072 (patch) | |
tree | e7490db5425d4e626f0b43eee0378396e5c9c76f /scp.c | |
parent | 3e20c442de30c583b1728500c782641f88dedbfa (diff) |
add the idiomatic do/while(0) in the macro SCREWUP
Diffstat (limited to 'scp.c')
-rw-r--r-- | scp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -841,7 +841,7 @@ sink(int argc, char **argv) #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); |