소스 검색

perf_replies: minor readability improvement

Evgeny Grin (Karlson2k) 8 달 전
부모
커밋
72c8b0db78
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/tools/perf_replies.c

+ 1 - 1
src/tools/perf_replies.c

@@ -1594,7 +1594,7 @@ init_data (void)
     return 0; /* Success */
 
   /* Cleanup */
-  while (--i < num_resps)
+  while (i-- != 0)
     MHD_destroy_response (resps[i]);
   free (resps);
   resps = NULL;