diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-27 22:16:15 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-27 22:16:15 +0000 |
| commit | 39d0485c233a98ca3ef83b757eb9948bd6c40ce4 (patch) | |
| tree | e22a22891643ed7daa701568d2d0891b49f2748f /sys/netatm | |
| parent | d254af07a14b8ea8891c2369150729943aa142df (diff) | |
Notes
Diffstat (limited to 'sys/netatm')
| -rw-r--r-- | sys/netatm/atm_cm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netatm/atm_cm.c b/sys/netatm/atm_cm.c index 6ae42e8396bd..51ea35bd8849 100644 --- a/sys/netatm/atm_cm.c +++ b/sys/netatm/atm_cm.c @@ -23,7 +23,7 @@ * Copies of this Software may be made, however, the above copyright * notice must be reproduced on all copies. * - * @(#) $Id: atm_cm.c,v 1.2 1998/09/17 09:34:59 phk Exp $ + * @(#) $Id: atm_cm.c,v 1.3 1998/10/31 20:06:54 phk Exp $ * */ @@ -38,7 +38,7 @@ #include <netatm/kern_include.h> #ifndef lint -__RCSID("@(#) $Id: atm_cm.c,v 1.2 1998/09/17 09:34:59 phk Exp $"); +__RCSID("@(#) $Id: atm_cm.c,v 1.3 1998/10/31 20:06:54 phk Exp $"); #endif @@ -996,7 +996,7 @@ atm_cm_release(cop, cause) /* * Check out the VCC state too */ - if (cvp = cop->co_connvc) { + if ((cvp = cop->co_connvc) != NULL) { switch (cvp->cvc_state) { @@ -1404,7 +1404,7 @@ atm_cm_connected(cvp) /* * Input any queued packets */ - while (m = cvp->cvc_rcvq) { + while ((m = cvp->cvc_rcvq) != NULL) { cvp->cvc_rcvq = KB_QNEXT(m); cvp->cvc_rcvqlen--; KB_QNEXT(m) = NULL; @@ -1562,7 +1562,7 @@ atm_cm_incall(cvp) /* * Look for matching listeners */ - while (lcop = atm_cm_match(&attr, lcop)) { + while ((lcop = atm_cm_match(&attr, lcop)) != NULL) { if (cop == NULL) { /* |
