소스 검색

Fixed regression introduced by a5b2b99e4bbbcdc226fd9992382f4ccae44dfa50

Evgeny Grin (Karlson2k) 9 년 전
부모
커밋
1c71436380
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/microhttpd/daemon.c

+ 1 - 1
src/microhttpd/daemon.c

@@ -3007,7 +3007,7 @@ MHD_get_timeout (struct MHD_Daemon *daemon,
       have_timeout = true;
     }
 
-  if (have_timeout)
+  if (! have_timeout)
     return MHD_NO;
   now = MHD_monotonic_sec_counter();
   if (earliest_deadline < now)