Blame netsniff-ng-uds_server.patch
|
James Findley |
c38e619 |
--- netsniff-ng_0.5.5.0/src/netsniff-ng.c 2010-02-02 11:14:07.157284078 +0000
|
|
James Findley |
c38e619 |
+++ netsniff-ng_0.5.5.0/src/netsniff-ng.c.1 2010-02-14 17:51:39.572993396 +0000
|
|
James Findley |
c38e619 |
@@ -218,10 +218,7 @@
|
|
James Findley |
c38e619 |
local.sun_family = AF_UNIX;
|
|
James Findley |
c38e619 |
strncpy(local.sun_path, sockfile, sizeof(local.sun_path));
|
|
James Findley |
c38e619 |
|
|
James Findley |
c38e619 |
- if (unlink(local.sun_path) != 0) {
|
|
James Findley |
c38e619 |
- perr("cannot unlink %s\n", local.sun_path);
|
|
James Findley |
c38e619 |
- pthread_exit(0);
|
|
James Findley |
c38e619 |
- }
|
|
James Findley |
c38e619 |
+ unlink(local.sun_path); /* Don't care if this fails */
|
|
James Findley |
c38e619 |
|
|
James Findley |
c38e619 |
info("bind socket to %s\n", local.sun_path);
|
|
James Findley |
c38e619 |
|