]> andersk Git - openssh.git/commitdiff
- djm@cvs.openbsd.org 2008/06/12 21:06:25
authordtucker <dtucker>
Thu, 12 Jun 2008 22:56:01 +0000 (22:56 +0000)
committerdtucker <dtucker>
Thu, 12 Jun 2008 22:56:01 +0000 (22:56 +0000)
     [clientloop.c]
     I was coalescing expected global request confirmation replies at
     the wrong end of the queue - fix; prompted by markus@

ChangeLog
clientloop.c

index 360025385186a7bdeb8078ec20ecf7dd6407dc15..7b4c13d6c6470930b7dc530bb3084842bdab0e5a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
    - djm@cvs.openbsd.org 2008/06/12 20:47:04
      [sftp-client.c]
      print extension revisions for extensions that we understand
+   - djm@cvs.openbsd.org 2008/06/12 21:06:25
+     [clientloop.c]
+     I was coalescing expected global request confirmation replies at
+     the wrong end of the queue - fix; prompted by markus@
   - (dtucker) [clientloop.c serverloop.c]  channel_register_filter now
     takes 2 more args.  with djm@
 
index 62adbb78ec624d7f3a30661fff99a65a795ae7e1..6dc870881b54af351777efb829c20af5b7d77371 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: clientloop.c,v 1.198 2008/06/12 15:19:17 djm Exp $ */
+/* $OpenBSD: clientloop.c,v 1.199 2008/06/12 21:06:25 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -745,7 +745,7 @@ client_register_global_confirm(global_confirm_cb *cb, void *ctx)
        struct global_confirm *gc, *first_gc;
 
        /* Coalesce identical callbacks */
-       first_gc = TAILQ_FIRST(&global_confirms);
+       first_gc = TAILQ_LAST(&global_confirms, global_confirms);
        if (first_gc && first_gc->cb == cb && first_gc->ctx == ctx) {
                if (++first_gc->ref_count >= INT_MAX)
                        fatal("%s: first_gc->ref_count = %d",
This page took 0.043903 seconds and 5 git commands to generate.