diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-01-11 12:35:07 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-01-11 12:38:14 +0100 |
commit | db1e0f17993d2f0834079b3d868c710b8821ef92 (patch) | |
tree | 296120e1e6b22317d4a16d859d6c2ad7b1f91ebc /src | |
parent | 98d358c9d88d01d9ed16e444a0e2d2c3652cec03 (diff) |
handler: syslog error if file does not exist
Report via syslog that file does not exist.
Diffstat (limited to 'src')
-rw-r--r-- | src/handler.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/handler.c b/src/handler.c index e8b421e..bc8af39 100644 --- a/src/handler.c +++ b/src/handler.c @@ -41,6 +41,8 @@ static int tip_client_file_not_found(struct tip_client *cli) send(tip_client_socket(cli), buf, strlen(buf), 0); + syslog(LOG_ERR, "Requested file `%s' does not exist", cli->path); + return -1; } |