X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fmodules%2Furldeshortener%2Fserv_expand_shorter_urls.c;h=6b038bec12556e3f42664af651c0a0b2dc4ba344;hp=0bc442f57e1fe77bddc54d6dd8f849e904e85948;hb=2b402dc292b6dcdbc7a3786a6c722e06e3be5ab5;hpb=2c9048572f22002cd287cd3137b5f7461d35455b diff --git a/citadel/modules/urldeshortener/serv_expand_shorter_urls.c b/citadel/modules/urldeshortener/serv_expand_shorter_urls.c index 0bc442f57..6b038bec1 100644 --- a/citadel/modules/urldeshortener/serv_expand_shorter_urls.c +++ b/citadel/modules/urldeshortener/serv_expand_shorter_urls.c @@ -139,7 +139,7 @@ int LookupUrl(StrBuf *ShorterUrlStr) OPT(WRITEHEADER, ShorterUrlStr); - if (CtdlThreadCheckStop()) + if (server_shutting_down) goto shutdown ; evcurl_handle_start(IO);