Commit eaf7c61e authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Do not crash when no desc is found


svn:r1546
parent 9d38311a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -720,7 +720,7 @@ int rend_services_init(void) {

    /* If there's no need to republish, stop here. */
    now = time(NULL);
    if (!changed &&
    if (!changed && service->desc &&
        service->desc->timestamp+MAX_SERVICE_PUBLICATION_INTERVAL >= now)
      continue;