git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
socket-util: Unlink Unix domain sockets that bind but fail to connect.
[sliver-openvswitch.git]
/
lib
/
socket-util.c
diff --git
a/lib/socket-util.c
b/lib/socket-util.c
index
12f0432
..
37f8c9a
100644
(file)
--- a/
lib/socket-util.c
+++ b/
lib/socket-util.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 2008, 2009, 2010, 2011 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010, 2011
, 2012
Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-458,7
+458,7
@@
error:
error = EPROTO;
}
if (bind_path) {
error = EPROTO;
}
if (bind_path) {
- fatal_signal_
remove_file_to_unlink
(bind_path);
+ fatal_signal_
unlink_file_now
(bind_path);
}
close(fd);
return -error;
}
close(fd);
return -error;