]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
xmltv: typo in module.c
authorEric Westbrook <tvheadend@westbrook.com>
Mon, 22 Jan 2018 04:10:28 +0000 (21:10 -0700)
committerJaroslav Kysela <perex@perex.cz>
Mon, 22 Jan 2018 19:09:49 +0000 (20:09 +0100)
src/epggrab/module.c

index 4dceab343401c58b4a383430f3508b4b1ec3af85..cce20d268d4e0c099f989ddbc9d681ced3c70004 100644 (file)
@@ -660,7 +660,7 @@ epggrab_module_activate_socket ( void *m, int a )
       return 0;
     }
 
-    if (listen(mod->sock, 5) != 0) {
+    if (listen(sock, 5) != 0) {
       tvherror(mod->subsys, "%s: failed to listen on socket: %s", mod->id, strerror(errno));
       close(sock);
       return 0;