[Groonga-commit] groonga/groonga at 9b26cc7 [master] Revert "Fix inverted function call on finalization"

Back to archive index
Kouhei Sutou null+****@clear*****
Mon Oct 15 14:19:02 JST 2018


Kouhei Sutou	2018-10-15 14:19:02 +0900 (Mon, 15 Oct 2018)

  Revision: 9b26cc71fa625b68b76a4f257191cd3624fb1848
  https://github.com/groonga/groonga/commit/9b26cc71fa625b68b76a4f257191cd3624fb1848

  Message:
    Revert "Fix inverted function call on finalization"
    
    This reverts commit b2f535b3c9cc4a18f0ccfcde86b8e7efeb45adbb.
    
    This isn't a bug.
    
    [groonga-dev,04688]
    
    Reported by Yutaro Shimamura. Thanks!!!

  Modified files:
    lib/com.c

  Modified: lib/com.c (+1 -1)
===================================================================
--- lib/com.c    2018-10-11 16:13:26 +0900 (685e724af)
+++ lib/com.c    2018-10-15 14:19:02 +0900 (104899f1a)
@@ -1049,7 +1049,7 @@ grn_com_close(grn_ctx *ctx, grn_com *com)
   if (ev) {
     grn_com *acceptor = ev->acceptor;
     grn_com_event_del(ctx, ev, fd);
-    if (acceptor) { grn_com_event_stop_accept(ctx, ev); }
+    if (acceptor) { grn_com_event_start_accept(ctx, ev); }
   }
   if (!com->closed) { grn_com_close_(ctx, com); }
   if (!ev) { GRN_FREE(com); }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181015/8228c559/attachment.html>


More information about the Groonga-commit mailing list
Back to archive index