comparison scpmisc.h @ 1344:b90da477ab63 coverity

merge coverity
author Matt Johnston <matt@ucc.asn.au>
date Thu, 18 May 2017 23:02:39 +0800
parents 83d85b28b353
children 292f79307600
comparison
equal deleted inserted replaced
1318:10e2a7727253 1344:b90da477ab63
9 * can be used freely for any purpose. Any derived versions of this 9 * can be used freely for any purpose. Any derived versions of this
10 * software must be clearly marked as such, and if the derived work is 10 * software must be clearly marked as such, and if the derived work is
11 * incompatible with the protocol description in the RFC file, it must be 11 * incompatible with the protocol description in the RFC file, it must be
12 * called by a name other than "ssh" or "Secure Shell". 12 * called by a name other than "ssh" or "Secure Shell".
13 */ 13 */
14
15 /* actually from atomicio, but is only used in scp code */
16 #define vwrite (ssize_t (*)(int, void *, size_t))write
17 14
18 char *chop(char *); 15 char *chop(char *);
19 char *strdelim(char **); 16 char *strdelim(char **);
20 void set_nonblock(int); 17 void set_nonblock(int);
21 void unset_nonblock(int); 18 void unset_nonblock(int);