Обновление подмодулей

This commit is contained in:
Andrei Astafev 2020-07-23 10:23:42 +03:00
parent 4519190768
commit c418aa8df0
2 changed files with 10 additions and 10 deletions

@ -1 +1 @@
Subproject commit 186d67c4bbc2fa91ecfd837d753631610aff0b1d
Subproject commit 5c90828e4e189e78fce1d93bf1700519e7aff76c

View File

@ -37,7 +37,7 @@ PosixSignalWatcherPrivate::PosixSignalWatcherPrivate( PosixSignalWatcher* q ) :
Q_Q( PosixSignalWatcher );
int signal = 0;
(void)::read( sockfd, &signal, sizeof( signal ) );
(void)!::read( sockfd, &signal, sizeof( signal ) );
qDebug() << "Caught signal: " << ::strsignal( signal );
Q_EMIT q->posixSignal( signal );
} );
@ -85,7 +85,7 @@ MYXLIB_INLINE void PosixSignalWatcherPrivate::watchForSignal( int signal )
*/
MYXLIB_INLINE void PosixSignalWatcherPrivate::signalHandler( int signal )
{
(void)::write( mSockpair[0], &signal, sizeof( signal ) );
(void)!::write( mSockpair[0], &signal, sizeof( signal ) );
}