|
@@ -16,6 +16,7 @@
|
|
#include "circuituse.h"
|
|
#include "circuituse.h"
|
|
#include "config.h"
|
|
#include "config.h"
|
|
#include "directory.h"
|
|
#include "directory.h"
|
|
|
|
+#include "main.h"
|
|
#include "networkstatus.h"
|
|
#include "networkstatus.h"
|
|
#include "nodelist.h"
|
|
#include "nodelist.h"
|
|
#include "rendclient.h"
|
|
#include "rendclient.h"
|
|
@@ -3074,6 +3075,9 @@ rend_services_introduce(void)
|
|
* an intro point to. */
|
|
* an intro point to. */
|
|
smartlist_t *exclude_nodes = smartlist_new();
|
|
smartlist_t *exclude_nodes = smartlist_new();
|
|
|
|
|
|
|
|
+ if (!can_complete_circuit)
|
|
|
|
+ return;
|
|
|
|
+
|
|
now = time(NULL);
|
|
now = time(NULL);
|
|
|
|
|
|
for (i=0; i < smartlist_len(rend_service_list); ++i) {
|
|
for (i=0; i < smartlist_len(rend_service_list); ++i) {
|