chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
prefork-interp: Fix an uninitialised variable
[chiark-utils.git]
/
cprogs
/
prefork-interp.c
diff --git
a/cprogs/prefork-interp.c
b/cprogs/prefork-interp.c
index 4e044a26c46a12f85946534fb52fea716fc5499b..2215ded6dc776668d3b7c873ef017455ac5a40b7 100644
(file)
--- a/
cprogs/prefork-interp.c
+++ b/
cprogs/prefork-interp.c
@@
-265,7
+265,7
@@
static bool was_eof(FILE *call_sock) {
static FILE *connect_existing(void) {
int r;
int fd = -1;
- FILE *call_sock;
+ FILE *call_sock
= 0
;
fd = socket(AF_UNIX, SOCK_STREAM, 0);
if (fd==-1) diee("socket() for client");