c94720f qemuMonitorTextGetAllBlockStatsInfo: Fix line validation

Authored and Committed by mprivozn 7 years ago
    qemuMonitorTextGetAllBlockStatsInfo: Fix line validation
    
    There's a bug in the function. We expect the following format for
    the data we are parsing here:
    
      key: value
    
    So we use strchr() to find ':' and then see if it is followed by
    space. But the check that does just that is slightly incorrect.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    
        
file modified
+1 -1