]> gitweb.ps.run Git - ps-cgit/blobdiff - shared.c
ui-shared: use strcmp() to compare strings
[ps-cgit] / shared.c
index b6d2fa1efe6a47f93054d6a6af29c3b4a5dbbb03..c7cd8a5487cb1c3ee9c9936efd551e071b587e47 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -59,7 +59,8 @@ int htmlfd = 0;
 
 int cgit_get_cmd_index(const char *cmd)
 {
-       static char *cmds[] = {"log", "commit", "diff", "tree", "view", "blob", "snapshot", NULL};
+       static char *cmds[] = {"log", "commit", "diff", "tree", "blob",
+                              "snapshot", NULL};
        int i;
 
        for(i = 0; cmds[i]; i++)