1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

fsp: Comment about not calling fsp_close_session on error.

This commit is contained in:
Kalle Olavi Niemitalo 2007-03-05 21:21:26 +02:00 committed by Kalle Olavi Niemitalo
parent 95a377e81b
commit 380deb2c1d

View File

@ -107,6 +107,13 @@ fsp_error(int error)
{
printf("%d\n", error);
fprintf(stderr, "text/x-error");
/* In principle, this should perhaps call fsp_close_session to
* make the server accept any key from the next client process
* at this IP address. That doesn't seem necessary though:
* fsplib uses various IPC schemes to synchronize the use of
* server-provided keys between client processes, so the next
* client process will probably be able to use the key saved
* by this one. */
exit(1);
}