mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07:00
@@ -38,7 +38,6 @@
|
||||
#include "service.h"
|
||||
#include "sig.h"
|
||||
#include "tty.h"
|
||||
#include "inetd.h"
|
||||
#include "sm.h"
|
||||
|
||||
int debug = 0;
|
||||
|
||||
@@ -107,8 +107,8 @@ static int inetd_stream_peek(int sd, char *ifname)
|
||||
|
||||
static int get_stdin(svc_t *svc)
|
||||
{
|
||||
char ifname[IF_NAMESIZE] = "UNKNOWN";
|
||||
int stdin = svc->inetd.watcher.fd;
|
||||
char ifname[IF_NAMESIZE] = "UNKNOWN";
|
||||
|
||||
if (svc->inetd.type == SOCK_STREAM) {
|
||||
/* Open new client socket from server socket */
|
||||
|
||||
Reference in New Issue
Block a user