Browse Source

prune dead SYNC_FAIL_ALL define

wip/server-refactor
Oswald Buddenhagen 10 years ago
parent
commit
eb190d2bd5
  1. 2
      src/main.c
  2. 1
      src/sync.h

2
src/main.c

@ -1045,8 +1045,6 @@ done_sync( int sts, void *aux )
if (sts & SYNC_BAD(S))
mvars->state[S] = ST_CLOSED;
mvars->skip = 1;
} else if (sts & SYNC_FAIL_ALL) {
mvars->skip = 1;
}
}
sync_chans( mvars, E_SYNC );

1
src/sync.h

@ -71,7 +71,6 @@ extern const char *str_ms[2], *str_hl[2];
#define SYNC_OK 0 /* assumed to be 0 */
#define SYNC_FAIL 1
#define SYNC_FAIL_ALL 2
#define SYNC_BAD(ms) (4<<(ms))
#define SYNC_NOGOOD 16 /* internal */
#define SYNC_CANCELED 32 /* internal */

Loading…
Cancel
Save