]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup: wrong result code tested
authorAndreas Gustafsson <source@isc.org>
Wed, 3 Jan 2001 23:34:54 +0000 (23:34 +0000)
committerAndreas Gustafsson <source@isc.org>
Wed, 3 Jan 2001 23:34:54 +0000 (23:34 +0000)
lib/dns/request.c

index efb1b1ac184c6b776d23bf9b401a28cffb0a8c8c..c88f4d6062897a61e1a86833fd7d5645e02cb802 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: request.c,v 1.45.2.1 2001/01/03 20:45:40 gson Exp $ */
+/* $Id: request.c,v 1.45.2.2 2001/01/03 23:34:54 gson Exp $ */
 
 #include <config.h>
 
@@ -1207,7 +1207,7 @@ req_connected(isc_task_t *task, isc_event_t *event) {
                if (result == ISC_R_SUCCESS)
                        result = req_send(request, task, NULL);
 
-               if (sevent->result != ISC_R_SUCCESS) {
+               if (result != ISC_R_SUCCESS) {
                        req_cancel(request);
                        req_sendevent(request, ISC_R_CANCELED);
                }