]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix typo.
authorMichael R Sweet <msweet@msweet.org>
Thu, 17 Apr 2025 19:02:28 +0000 (15:02 -0400)
committerMichael R Sweet <msweet@msweet.org>
Thu, 17 Apr 2025 19:02:28 +0000 (15:02 -0400)
scheduler/subscriptions.c

index 8f094445a91c548a71d5fd938cc47af8cc6067be..8004101c6b69e43a5ecd0724927f8d571281ef22 100644 (file)
@@ -685,7 +685,7 @@ cupsdFindSubscription(int id)               /* I - Subscription ID */
 
   _cupsRWLockRead(&SubscriptionsLock);
 
-  sub = (cupsd_subscription_t *)cupsArrayFind(Subscriptions, &sub);
+  sub = (cupsd_subscription_t *)cupsArrayFind(Subscriptions, &key);
 
   _cupsRWUnlock(&SubscriptionsLock);