about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2010-05-21 23:44:20 +0200
committerAlexander Barton <alex@barton.de>2010-06-29 22:55:27 +0200
commit60f5dd5b29e701b3ab601addd3cdefb508acc7d1 (patch)
tree65dddb6c1b62e64ea4f9a97ff1330bd2d64da14d /src
parent89e73ad4b4e66921fc20c5afbe17042aee77a329 (diff)
downloadngircd-60f5dd5b29e701b3ab601addd3cdefb508acc7d1.tar.gz
ngircd-60f5dd5b29e701b3ab601addd3cdefb508acc7d1.zip
Update comments: subprocesses not only can be resolver processes
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/conn.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 91ff7796..dff9336f 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -756,7 +756,8 @@ Conn_Handler(void)
 				continue; /* TLS/SSL layer needs to write data; deal with this first */
 #endif
 			if (Proc_InProgress(&My_Connections[i].proc_stat)) {
-				/* Wait for completion of resolver sub-process ... */
+				/* Wait for completion of forked subprocess
+				 * and ignore the socket in the meantime ... */
 				io_event_del(My_Connections[i].sock,
 					     IO_WANTREAD);
 				continue;
@@ -772,6 +773,7 @@ Conn_Handler(void)
 					     IO_WANTREAD);
 				continue;
 			}
+
 			io_event_add(My_Connections[i].sock, IO_WANTREAD);
 		}
 
@@ -1073,7 +1075,7 @@ Conn_Close( CONN_ID Idx, const char *LogMsg, const char *FwdMsg, bool InformClie
 		    in_k, out_k);
 	}
 
-	/* cancel running resolver */
+	/* Kill possibly running subprocess */
 	if (Proc_InProgress(&My_Connections[Idx].proc_stat))
 		Proc_Kill(&My_Connections[Idx].proc_stat);