Minor cleanup

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-07-18 17:30:14 +02:00
parent 7dfdc2395b
commit 45bdadebb6
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -38,7 +38,6 @@
#include "service.h"
#include "sig.h"
#include "tty.h"
#include "inetd.h"
#include "sm.h"
int debug = 0;
+1 -1
View File
@@ -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 */