sct_flipper.tcl
Fixed simulated driver mode. ascon.c Added host and port to ascon error messages. r2937 | ffr | 2010-05-24 14:24:04 +1000 (Mon, 24 May 2010) | 6 lines
This commit is contained in:
committed by
Douglas Clowes
parent
b1bfbb08b5
commit
a0923650d9
4
ascon.c
4
ascon.c
@@ -75,9 +75,9 @@ void AsconError(Ascon *a, char *msg, int errorno) {
|
||||
state = stateText[a->state];
|
||||
}
|
||||
if (errorno != 0) {
|
||||
a->errList = ErrPutMsg(a->errList, "ASCERR: %s %s (during %s)", msg, strerror(errorno), state);
|
||||
a->errList = ErrPutMsg(a->errList, "ASCERR: %s %s (during %s on %s)", msg, strerror(errorno), state, a->hostport);
|
||||
} else {
|
||||
a->errList = ErrPutMsg(a->errList, "ASCERR: %s (during %s)", msg, state);
|
||||
a->errList = ErrPutMsg(a->errList, "ASCERR: %s (during %s on %s)", msg, state, a->hostport);
|
||||
}
|
||||
a->state |= AsconFailed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user