From: Jaroslav Kysela Date: Wed, 29 Nov 2017 09:50:47 +0000 (+0100) Subject: SAT>IP server: fix typo in the previous patch X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3af771188d513a4d7c0806e31b9077f0d575c9d9;p=thirdparty%2Ftvheadend.git SAT>IP server: fix typo in the previous patch --- diff --git a/src/satip/rtsp.c b/src/satip/rtsp.c index d9a651ccf..06fbe87ba 100644 --- a/src/satip/rtsp.c +++ b/src/satip/rtsp.c @@ -194,7 +194,7 @@ rtsp_new_session(const char *ipstr, int delsys, uint32_t nsession, int session) satip_server_conf.satip_max_sessions); return NULL; } - if (strcmp(rs->peer_ipstr, ipstr) == 0 && --count_i == 0) { + if (strcmp(rs->peer_ipstr, ipstr) == 0 && --count_u == 0) { tvhnotice(LS_SATIPS, "Max number (%i) of active RTSP sessions per user (IP: %s).", satip_server_conf.satip_max_user_connections, strdup(ipstr)); return NULL;