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

index 565cdd65f7df1574ed2c504c699fd5b36e7d24ae..c3e01d4503bc92e94d9f6b09ac9eee657610a1a7 100644 (file)
@@ -686,7 +686,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);