Commit d7f1affc authored by Dmitry Antipov's avatar Dmitry Antipov Committed by Steve French
Browse files

cifs: avoid extra calls to strlen() in cifs_get_spnego_key()



Since 'snprintf()' returns the number of characters emitted, an
output position may be advanced with this return value rather
than using an explicit calls to 'strlen()'. Compile tested only.

Signed-off-by: default avatarDmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent b63335fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment