diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-06-21 15:32:31 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-06-21 15:32:31 +0200 |
commit | 46305df5903270d9b63652a1ce5fae2ee861a0e4 (patch) | |
tree | 9270c8e8697afd2d6451524e8c59e992029c4641 /protocol.c | |
parent | 8cfdfdc4dec97710ae52aa8fb5efa5d162811114 (diff) |
added RECV_FATAL_CALLBACK_ERROR for callback specific failured, RECV_FATAL is for internal failures
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'protocol.c')
-rw-r--r-- | protocol.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -73,9 +73,7 @@ static enum recv_return parse_protocol_timestamp(char const protocol_timestamp[P char timestamp_sz[PROTOCOL_TIME_STRLEN + 1]; strncpy(timestamp_sz, protocol_timestamp, sizeof(timestamp_sz) - 1); timestamp_sz[PROTOCOL_TIME_STRLEN] = '\0'; - if (strptime(timestamp_sz, "%a, %d %b %Y %T %z", dest) == NULL) { - return RECV_FATAL; - } + strptime(timestamp_sz, "%a, %d %b %Y %T %z", dest); return RECV_SUCCESS; } |