crypto: Fix typo in example
PATCH 1/1 crypto: Fix typo in example
The example code wouldn't even compile, since it did not use a consistent spelling for the Error ** parameter.
Signed-off-by Eric Blake <[email protected]>
--- include/crypto/tlssession.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/crypto/tlssession.h +1 -1
@@ -56,7 +56,7 @@* * static int mysock_run_tls(int sockfd, * QCryptoTLSCreds *creds, -* Error *erp) +* Error *errp) * { * QCryptoTLSSession *sess; *
Signature · 1 line
2.4.3
Quoted 4 lines · Eric Blake
The example code wouldn't even compile, since it did not use a consistent spelling for the Error ** parameter.
Signed-off-by Eric Blake <[email protected]>
Reviewed-by Daniel P. Berrange <[email protected]>
Quoted 9 lines
--- include/crypto/tlssession.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/crypto/tlssession.h +0
-0
include/crypto/tlssession.h line 62
Quoted 8 lines
include/crypto/tlssession.h +1
-1@@ -56,7 +56,7 @@* * static int mysock_run_tls(int sockfd, * QCryptoTLSCreds *creds, -* Error *erp) +* Error *errp) * { * QCryptoTLSSession *sess; *
Regards,
Daniel
Signature · 4 lines
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
Michael Tokarev
AppliedQuoted 2 lines · Eric Blake
The example code wouldn't even compile, since it did not use a consistent spelling for the Error ** parameter.
Applied to -trivial, thanks!
/mjt