X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..3fe2333a1fa62389ad049a1c1ca43fee77a3fef0:/disobedience/lookup.c diff --git a/disobedience/lookup.c b/disobedience/lookup.c index 8255cfd..21bacc4 100644 --- a/disobedience/lookup.c +++ b/disobedience/lookup.c @@ -15,6 +15,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ +/** @file disobedience/lookup.c + * @brief Disobedience server lookups and caching + */ #include "disobedience.h" static int namepart_lookups_outstanding; @@ -71,15 +74,14 @@ static void namepart_fill(const char *track, D(("namepart_fill %s %s %s %s", track, context, part, key)); ++namepart_lookups_outstanding; D(("namepart_lookups_outstanding -> %d\n", namepart_lookups_outstanding)); - disorder_eclient_namepart(client, namepart_completed, - track, context, part, (void *)key); + disorder_eclient_part(client, namepart_completed, + track, context, part, (void *)key); } /** @brief Look up a namepart * @param track Track name * @param context Context * @param part Name part - * @param lookup If nonzero, will schedule a lookup for unknown values * * If it is in the cache then just return its value. If not then look it up * and arrange for the queues to be updated when its value is available. */