You might want to say:

    if (gfr < GST_FLOW_OK && gfr != GST_FLOW_FLUSHING)

Since all positive return values are "success".