Commit f5898324 by Philip Kelley

Style: Reverse lhs and rhs of == comparisons

parent b8c32580
...@@ -624,7 +624,7 @@ static int add_push_report_sideband_pkt(git_push *push, git_pkt_data *data_pkt) ...@@ -624,7 +624,7 @@ static int add_push_report_sideband_pkt(git_push *push, git_pkt_data *data_pkt)
git_pkt_free(pkt); git_pkt_free(pkt);
if (error < 0 && GIT_ITEROVER != error) if (error < 0 && error != GIT_ITEROVER)
return error; return error;
} }
...@@ -682,7 +682,7 @@ static int parse_report(gitno_buffer *buf, git_push *push) ...@@ -682,7 +682,7 @@ static int parse_report(gitno_buffer *buf, git_push *push)
git_pkt_free(pkt); git_pkt_free(pkt);
/* add_push_report_pkt returns GIT_ITEROVER when it receives a flush */ /* add_push_report_pkt returns GIT_ITEROVER when it receives a flush */
if (GIT_ITEROVER == error) if (error == GIT_ITEROVER)
return 0; return 0;
if (error < 0) if (error < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment