Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
service_mapper: move SUBSCRIPTION_PACKET from weight to flags field o…
…f subscription_create_from_service
  • Loading branch information
bfennema authored and perexg committed Mar 22, 2015
1 parent db5cf2a commit 0c6cce0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/service_mapper.c
@@ -1,6 +1,6 @@
/*
* Service Mapper functions
* Copyright (C) 2007 Andreas Öman
* Copyright (C) 2007 Andreas Öman
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -376,11 +376,10 @@ service_mapper_thread ( void *aux )
tvhinfo("service_mapper", "checking %s", s->s_nicename);
prch.prch_id = s;
sub = subscription_create_from_service(&prch, NULL,
SUBSCRIPTION_PACKET |
SUBSCRIPTION_PRIO_MAPPER,
"service_mapper",
0, NULL, NULL, "service_mapper",
NULL);
SUBSCRIPTION_PACKET,
NULL, NULL, "service_mapper", NULL);

/* Failed */
if (!sub) {
Expand Down

0 comments on commit 0c6cce0

Please sign in to comment.