Skip to content

Commit 7643025

Browse files
fix to listening socket poll in publish-only mode
1 parent 8a9ed49 commit 7643025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pc/manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ void manager::poll( bool do_wait )
381381
if ( do_tx_ ) {
382382
tconn_.poll();
383383
}
384-
if ( lsvr_.get_port() ) {
384+
if ( lsvr_.get_port()>0 ) {
385385
lsvr_.poll();
386386
for( user *uptr = olist_.first(); uptr; ) {
387387
user *nptr = uptr->get_next();

0 commit comments

Comments
 (0)