mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
1 parent
7dfdc2395b
commit
45bdadebb6
2 files changed
+1
-2
No files matched your search
@@ -38,7 +38,6 @@
|
|||||||
#include "service.h"
|
#include "service.h"
|
||||||
#include "sig.h"
|
#include "sig.h"
|
||||||
#include "tty.h"
|
#include "tty.h"
|
||||||
#include "inetd.h"
|
|
||||||
#include "sm.h"
|
#include "sm.h"
|
||||||
|
|
||||||
int debug = 0;
|
int debug = 0;
|
||||||
|
|||||||
@@ -107,8 +107,8 @@ static int inetd_stream_peek(int sd, char *ifname)
|
|||||||
|
|
||||||
static int get_stdin(svc_t *svc)
|
static int get_stdin(svc_t *svc)
|
||||||
{
|
{
|
||||||
char ifname[IF_NAMESIZE] = "UNKNOWN";
|
|
||||||
int stdin = svc->inetd.watcher.fd;
|
int stdin = svc->inetd.watcher.fd;
|
||||||
|
char ifname[IF_NAMESIZE] = "UNKNOWN";
|
||||||
|
|
||||||
if (svc->inetd.type == SOCK_STREAM) {
|
if (svc->inetd.type == SOCK_STREAM) {
|
||||||
/* Open new client socket from server socket */
|
/* Open new client socket from server socket */
|
||||||
|
|||||||
Reference in new issue
Block a user