projects
/
sxemacs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab85484
)
Coverity: NO_EFFECT: CID 594
author
Nelson Ferreira
<nelson.ferreira@ieee.org>
Fri, 13 Jan 2012 22:24:14 +0000
(17:24 -0500)
committer
Nelson Ferreira
<nelson.ferreira@ieee.org>
Fri, 13 Jan 2012 22:24:14 +0000
(17:24 -0500)
* lib-src/gnuslib.c (connect_to_unix_server): Use int for sz which
is the proper return type of snprintf.
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
lib-src/gnuslib.c
patch
|
blob
|
history
diff --git
a/lib-src/gnuslib.c
b/lib-src/gnuslib.c
index
e6d3ec8
..
c15520f
100644
(file)
--- a/
lib-src/gnuslib.c
+++ b/
lib-src/gnuslib.c
@@
-247,7
+247,7
@@
static int connect_to_unix_server(void)
{
int s; /* connected socket descriptor */
struct sockaddr_un server; /* for unix connections */
-
size_
t sz;
+
in
t sz;
if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) {
perror(progname);