Fix some logical-not-parentheses warnings
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user