mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 19:07:28 +00:00
add the idiomatic do/while(0) in the macro SCREWUP
This commit is contained in:
parent
3e20c442de
commit
0650182289
2
scp.c
2
scp.c
@ -841,7 +841,7 @@ sink(int argc, char **argv)
|
|||||||
|
|
||||||
#define atime tv[0]
|
#define atime tv[0]
|
||||||
#define mtime tv[1]
|
#define mtime tv[1]
|
||||||
#define SCREWUP(str) { why = str; goto screwup; }
|
#define SCREWUP(str) do { why = str; goto screwup; } while (0)
|
||||||
|
|
||||||
setimes = targisdir = 0;
|
setimes = targisdir = 0;
|
||||||
mask = umask(0);
|
mask = umask(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user