Skip to content
  • Guillaume Roguez's avatar
    fix account type checkings · 8a708851
    Guillaume Roguez authored
    
    
    Account::getAccountType() returns a raw pointer on char,
    but we use it with simple operators like == or != to check
    the semantic behind. This results to pointer comparaison
    and not "string" comparaison, causing many bugs.
    
    Fixed by changing the comparaison operators by "strcmp" function.
    
    Change-Id: I74baba083af0159d445c1505ddd5df55e6ca4fa7
    Tuleap: #1575
    Reviewed-by: default avatarPhilippe Gorley <philippe.gorley@savoirfairelinux.com>
    8a708851