From 380deb2c1dd6fd4893f063e0cf51145761c961bb Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Mon, 5 Mar 2007 21:21:26 +0200 Subject: [PATCH] fsp: Comment about not calling fsp_close_session on error. --- src/protocol/fsp/fsp.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/protocol/fsp/fsp.c b/src/protocol/fsp/fsp.c index 3876560f..40f58b52 100644 --- a/src/protocol/fsp/fsp.c +++ b/src/protocol/fsp/fsp.c @@ -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); }