mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-14 20:22:21 +00:00
Fix some logical-not-parentheses warnings
This commit is contained in:
parent
24a2f05138
commit
c479fe7b9e
3 changed files with 4 additions and 4 deletions
|
@ -121,7 +121,7 @@ int dbn /* Database number */
|
|||
goto quit;
|
||||
|
||||
/* ensure record not already connected to set */
|
||||
if ( ! crmp.owner == NULL_DBA ) {
|
||||
if ( ! (crmp.owner == NULL_DBA) ) {
|
||||
stat = dberr(S_ISOWNED);
|
||||
goto quit;
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ add_message(const _Tt_s_message_ptr &m)
|
|||
{
|
||||
_Tt_xdr_version xvers(_version);
|
||||
|
||||
if (! _flags&(1<<_TT_PROC_ACTIVE)) {
|
||||
if (! (_flags&(1<<_TT_PROC_ACTIVE))) {
|
||||
_tt_syslog(0, LOG_ERR,
|
||||
catgets(_ttcatd, 2, 4,
|
||||
"A ToolTalk client died before it "
|
||||
|
|
|
@ -4003,8 +4003,8 @@ VacationCmd::parseVacationMessage()
|
|||
for (hnd = env->getFirstHeader(error, &name, value);
|
||||
error.isNotSet() && hnd;
|
||||
hnd = env->getNextHeader(error, hnd, &name, value)) {
|
||||
|
||||
if (!strcmp(name, "Subject") == 0) {
|
||||
|
||||
if (strcmp(name, "Subject")) {
|
||||
continue;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue