[transport] copy-paste error, nothing to see here
authorDavid Barksdale <amatus@amat.us>
Fri, 16 Jun 2017 00:01:30 +0000 (19:01 -0500)
committerDavid Barksdale <amatus@amat.us>
Fri, 16 Jun 2017 00:01:30 +0000 (19:01 -0500)
So embarassing!

src/transport/plugin_transport_http_server.c

index 921c6842a7a3cc11b358585383ccb954542bbf74..892d97050029bc022c4bfe2746289ec6e75b3e7a 100644 (file)
@@ -589,10 +589,10 @@ server_delete_session (struct GNUNET_ATS_Session *s)
     MHD_set_connection_option (s->server_send->mhd_conn,
                                MHD_CONNECTION_OPTION_TIMEOUT,
                                1 /* 0 = no timeout, so this is MIN */);
-    if (s->server_recv->suspended)
+    if (s->server_send->suspended)
     {
-      s->server_recv->suspended = false;
-      MHD_resume_connection (s->server_recv->mhd_conn);
+      s->server_send->suspended = false;
+      MHD_resume_connection (s->server_send->mhd_conn);
     }
     server_reschedule (plugin,
                       s->server_send->mhd_daemon,