瀏覽代碼

Merge branch 'maint-0.3.3'

Nick Mathewson 7 年之前
父節點
當前提交
d749f6b5f6
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/or/hs_service.c

+ 3 - 1
src/or/hs_service.c

@@ -1953,7 +1953,9 @@ should_rotate_descriptors(hs_service_t *service, time_t now)
                        "time is %ld (now: %ld). Valid after time from "
                        "consensus is %ld",
                service->desc_current, service->desc_next,
-               service->state.next_rotation_time, now, ns->valid_after);
+               (long)service->state.next_rotation_time,
+               (long)now,
+               (long)ns->valid_after);
       goto no_rotation;
     }
     goto rotation;