mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +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;
|
goto quit;
|
||||||
|
|
||||||
/* ensure record not already connected to set */
|
/* ensure record not already connected to set */
|
||||||
if ( ! crmp.owner == NULL_DBA ) {
|
if ( ! (crmp.owner == NULL_DBA) ) {
|
||||||
stat = dberr(S_ISOWNED);
|
stat = dberr(S_ISOWNED);
|
||||||
goto quit;
|
goto quit;
|
||||||
}
|
}
|
||||||
|
|
|
@ -100,7 +100,7 @@ add_message(const _Tt_s_message_ptr &m)
|
||||||
{
|
{
|
||||||
_Tt_xdr_version xvers(_version);
|
_Tt_xdr_version xvers(_version);
|
||||||
|
|
||||||
if (! _flags&(1<<_TT_PROC_ACTIVE)) {
|
if (! (_flags&(1<<_TT_PROC_ACTIVE))) {
|
||||||
_tt_syslog(0, LOG_ERR,
|
_tt_syslog(0, LOG_ERR,
|
||||||
catgets(_ttcatd, 2, 4,
|
catgets(_ttcatd, 2, 4,
|
||||||
"A ToolTalk client died before it "
|
"A ToolTalk client died before it "
|
||||||
|
|
|
@ -4004,7 +4004,7 @@ VacationCmd::parseVacationMessage()
|
||||||
error.isNotSet() && hnd;
|
error.isNotSet() && hnd;
|
||||||
hnd = env->getNextHeader(error, hnd, &name, value)) {
|
hnd = env->getNextHeader(error, hnd, &name, value)) {
|
||||||
|
|
||||||
if (!strcmp(name, "Subject") == 0) {
|
if (strcmp(name, "Subject")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue