commit dd0d45c180613d672dcbbf3cb252bc669c7822d5
parent 3952044d51644070bdd57c00a95a1fb55d9ce0ff
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Fri, 16 Jul 2021 19:11:53 -0700
Fix name command
On second thought it doesn't make sense to skip the current item
in this case.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/aps/command.c b/aps/command.c
@@ -148,7 +148,7 @@ aps_name(struct aps *aps, int s, int argc, char **argv)
 {
 	struct item *item;
 
-	item = find(aps->queue, aps->queue, argv, argc, FIND_NEXT);
+	item = find(aps->queue, aps->queue, argv, argc, 0);
 	if (item == NULL)
 		return enotfound;