Blob Blame History Raw
diff --git a/src/server/vomsd.cc b/src/server/vomsd.cc
index 700c5f1..4f4d1f7 100644
--- a/src/server/vomsd.cc
+++ b/src/server/vomsd.cc
@@ -1451,7 +1451,7 @@ static bool determine_group_and_role(std::string command, char *comm, char **gro
     case 'B':
       *role = strchr(string, ':');
       if (*role) {
-        (*role) = '\0';
+        (**role) = '\0';
         (*role)++;
       }
       break;