Commit Diff


commit - 0402e4871686429abf8a88d738b9562a29dfa736
commit + ff6706ad7dac3c196edaed27d8a64474cbe110f3
blob - 122a287f90c126dc044b6bf48544f73244e0188c
blob + 51f4552080c86a3a3c66e26213112cfe6c0ca58b
--- gotd/gotd.c
+++ gotd/gotd.c
@@ -2158,7 +2158,6 @@ connect_session(struct gotd_client *client)
 	 * Further client requests will be handled by the session process.
 	 */
 	imsgbuf_clear(&client->iev.ibuf);
-	imsgbuf_clear(&client->iev.ibuf);
 	event_del(&client->iev.ev);
 	client->fd = -1; /* will be closed via copy in client->iev.ibuf.fd */