diff mbox

crypto: Fix typo in example

Message ID 1450713257-17108-1-git-send-email-eblake@redhat.com
State New
Headers show

Commit Message

Eric Blake Dec. 21, 2015, 3:54 p.m. UTC
The example code wouldn't even compile, since it did not use
a consistent spelling for the Error ** parameter.

Signed-off-by: Eric Blake <eblake@redhat.com>
---
 include/crypto/tlssession.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Daniel P. Berrangé Dec. 21, 2015, 4:12 p.m. UTC | #1
On Mon, Dec 21, 2015 at 08:54:17AM -0700, Eric Blake wrote:
> The example code wouldn't even compile, since it did not use
> a consistent spelling for the Error ** parameter.
> 
> Signed-off-by: Eric Blake <eblake@redhat.com>

Reviewed-by: Daniel P. Berrange <berrange@redhat.com>

> ---
>  include/crypto/tlssession.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/crypto/tlssession.h b/include/crypto/tlssession.h
> index b38fe69..d356a8d 100644
> --- a/include/crypto/tlssession.h
> +++ b/include/crypto/tlssession.h
> @@ -56,7 +56,7 @@
>   *
>   * static int mysock_run_tls(int sockfd,
>   *                           QCryptoTLSCreds *creds,
> - *                           Error *erp)
> + *                           Error *errp)
>   * {
>   *    QCryptoTLSSession *sess;
>   *

Regards,
Daniel
Michael Tokarev Jan. 10, 2016, 5:53 p.m. UTC | #2
21.12.2015 18:54, Eric Blake wrote:
> The example code wouldn't even compile, since it did not use
> a consistent spelling for the Error ** parameter.


Applied to -trivial, thanks!

/mjt
diff mbox

Patch

diff --git a/include/crypto/tlssession.h b/include/crypto/tlssession.h
index b38fe69..d356a8d 100644
--- a/include/crypto/tlssession.h
+++ b/include/crypto/tlssession.h
@@ -56,7 +56,7 @@ 
  *
  * static int mysock_run_tls(int sockfd,
  *                           QCryptoTLSCreds *creds,
- *                           Error *erp)
+ *                           Error *errp)
  * {
  *    QCryptoTLSSession *sess;
  *