From: Michael R Sweet Date: Sun, 21 Apr 2024 13:36:29 +0000 (-0400) Subject: Fix typos in comments. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=485540f4d7a738291a06a06a59931f283118d2bc;p=thirdparty%2Fcups.git Fix typos in comments. --- diff --git a/cups/dnssd.c b/cups/dnssd.c index 7795df66cd..9520f81f6f 100644 --- a/cups/dnssd.c +++ b/cups/dnssd.c @@ -913,7 +913,7 @@ cupsDNSSDQueryNew( if (!dnssd || !fullname || !query_cb) return (NULL); - // Allocate memory for the queryr... + // Allocate memory for the resolver... if ((query = (cups_dnssd_query_t *)calloc(1, sizeof(cups_dnssd_query_t))) == NULL) return (NULL); @@ -926,7 +926,7 @@ cupsDNSSDQueryNew( if (!dnssd->queries) { - // Create an array of queryrs... + // Create an array of resolvers... if ((dnssd->queries = cupsArrayNew3(NULL, NULL, NULL, 0, NULL, (cups_afree_func_t)delete_query)) == NULL) { // Unable to create... @@ -1060,7 +1060,7 @@ cupsDNSSDResolveNew( return (NULL); } - // Allocate memory for the queryr... + // Allocate memory for the resolver... if ((resolve = (cups_dnssd_resolve_t *)calloc(1, sizeof(cups_dnssd_resolve_t))) == NULL) { DEBUG_printf("2cupsDNSSDResolveNew: Unable to allocate memory: %s", strerror(errno)); @@ -1076,7 +1076,7 @@ cupsDNSSDResolveNew( if (!dnssd->resolves) { - // Create an array of queryrs... + // Create an array of resolvers... DEBUG_puts("2cupsDNSSDResolveNew: Creating resolver array."); if ((dnssd->resolves = cupsArrayNew3(NULL, NULL, NULL, 0, NULL, (cups_afree_func_t)delete_resolve)) == NULL) {