Rewrote mbtask as a single process
This commit is contained in:
@@ -169,6 +169,7 @@ term.o: ../config.h mbselib.h users.h
|
||||
endian.o: ../config.h mbselib.h
|
||||
timers.o: ../config.h mbselib.h
|
||||
pidinfo.o: ../config.h mbselib.h
|
||||
tmpwork.o: ../config.h mbselib.h
|
||||
dbcfg.o: ../config.h mbselib.h mbse.h users.h mbsedb.h
|
||||
dbdupe.o: ../config.h mbselib.h mbse.h users.h mbsedb.h
|
||||
dbftn.o: ../config.h mbselib.h users.h mbsedb.h
|
||||
|
@@ -4,7 +4,7 @@
|
||||
* Purpose ...............: MBSE Deamon Client
|
||||
*
|
||||
*****************************************************************************
|
||||
* Copyright (C) 1993-2005
|
||||
* Copyright (C) 1993-2006
|
||||
*
|
||||
* Michiel Broek FIDO: 2:280/2802
|
||||
* Beekmansbos 10
|
||||
@@ -158,6 +158,9 @@ int socket_send(char *buf)
|
||||
|
||||
if (sendto(sock, buf, strlen(buf), 0, (struct sockaddr *)&servaddr, sizeof(servaddr)) != strlen(buf)) {
|
||||
printf("Socket send failed error %d\n", errno);
|
||||
if (errno == 2) {
|
||||
abort();
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user