diff --git a/src/server/slavefuncs.c b/src/server/slavefuncs.c --- a/src/server/slavefuncs.c +++ b/src/server/slavefuncs.c @@ -844,6 +844,9 @@ int login_user(char *username) */ int sendSignal(struct remoteio *rem, char signal) { + + fprintf(stderr, __FILE__ ":%d: Ignoring call to DEPRECATED and WRONG sendSignal() function. See similar message for sendExtSignal() for details\n", __LINE__); + return 1; remoteio_write(rem, &signal, 1); /** @@ -864,6 +867,10 @@ int sendExtSignal(struct remoteio *rem, { size_t len; char *ssignal; + + fprintf(stderr, __FILE__ ":%d: Ignoring call to DEPRECATED and WRONG sendExtSignal() function. First of all, this function's name is camelCase. Secondly, it doesn't use protocol.h properly. I'll show how later. Thirdly, when protocol.h and request.h (still being written) are used properly, you don't need sendExtSignal() at all.\n", __LINE__); + return 1; + /** * Just append the data FIXME: We should do this differently */