diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/lash/files/patch-lashd_client__event.c | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'audio/lash/files/patch-lashd_client__event.c')
-rw-r--r-- | audio/lash/files/patch-lashd_client__event.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/lash/files/patch-lashd_client__event.c b/audio/lash/files/patch-lashd_client__event.c new file mode 100644 index 000000000000..134f68655065 --- /dev/null +++ b/audio/lash/files/patch-lashd_client__event.c @@ -0,0 +1,20 @@ +--- lashd/client_event.c.orig 2007-01-13 22:05:54 UTC ++++ lashd/client_event.c +@@ -185,6 +185,7 @@ server_lash_event_project_add(server_t * + project_set_name(project, name); + } + ++#if 0 + err = gethostname(server_name, MAXHOSTNAMELEN); + if (err == -1) { + fprintf(stderr, +@@ -192,6 +193,9 @@ server_lash_event_project_add(server_t * + __FUNCTION__, strerror(errno)); + strcpy(server_name, "localhost"); + } ++#else ++ strcpy(server_name, "localhost"); ++#endif + + server->projects = lash_list_append(server->projects, project); + |