mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-28 04:09:31 +03:00
-cleaner code: avoid trivial fall-through case, make it explicit instead
This commit is contained in:
@@ -205,7 +205,7 @@ SPDYF_openssl_recv(struct SPDY_Session *session,
|
||||
case SSL_ERROR_SYSCALL:
|
||||
if(EINTR == errno)
|
||||
return SPDY_IO_ERROR_AGAIN;
|
||||
|
||||
return SPDY_IO_ERROR_ERROR;
|
||||
default:
|
||||
return SPDY_IO_ERROR_ERROR;
|
||||
}
|
||||
@@ -241,7 +241,7 @@ SPDYF_openssl_send(struct SPDY_Session *session,
|
||||
case SSL_ERROR_SYSCALL:
|
||||
if(EINTR == errno)
|
||||
return SPDY_IO_ERROR_AGAIN;
|
||||
|
||||
return SPDY_IO_ERROR_ERROR;
|
||||
default:
|
||||
return SPDY_IO_ERROR_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user