diff options
author | Francois Perrad <francois.perrad@gadz.org> | 2015-12-31 17:34:17 +0100 |
---|---|---|
committer | Francois Perrad <francois.perrad@gadz.org> | 2015-12-31 17:34:17 +0100 |
commit | a30bea761d26682bdf2e94842e00cdf22a7f7e01 (patch) | |
tree | 305f6ef1167cb085179aeebd87ffb2f4fbdabdf2 | |
parent | ac3905a6fe0e507e0c1b3f06669aae071f626fe9 (diff) | |
download | dropbear-a30bea761d26682bdf2e94842e00cdf22a7f7e01.tar.gz |
add the idiomatic do/while(0) in the macro SCREWUP
-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); |