service_mapper: move SUBSCRIPTION_PACKET from weight to flags field of subscription_create_from_service
This commit is contained in:
parent
db5cf2adff
commit
0c6cce080a
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue