Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
misc: vppctl - fix coverity warning
[vpp.git]
/
src
/
vpp
/
app
/
vppctl.c
diff --git
a/src/vpp/app/vppctl.c
b/src/vpp/app/vppctl.c
index
98158dd
..
8fe493d
100644
(file)
--- a/
src/vpp/app/vppctl.c
+++ b/
src/vpp/app/vppctl.c
@@
-58,7
+58,10
@@
send_ttype (int sock_fd, int is_interactive)
"%c%s"
"%c%c",
IAC, SB, TELOPT_TTYPE, 0, term, IAC, SE);
- send (sock_fd, buf, len, 0);
+ if (send (sock_fd, buf, len, 0) < 0)
+ {
+ perror ("send_ttype");
+ }
}
static void