[haiku-commits] Re: haiku: hrev50921 - in src/apps/haikudepot: server util

  • From: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
  • To: "haiku-commits@xxxxxxxxxxxxx" <haiku-commits@xxxxxxxxxxxxx>
  • Date: Tue, 31 Jan 2017 20:56:37 +1300

+               if (NULL != locationValue && 0 != strlen(locationValue)) {

This is wrong. The values should be on the right hand side.

+               if (0 == statusCode || 5 == (statusCode / 100)) {

Same again.

Other related posts: