handler: syslog error if file does not exist
Report via syslog that file does not exist.master
parent
98d358c9d8
commit
db1e0f1799
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue