projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
ce7e4b8
)
Merge pull request #3102 from rubenk/oauth-fix-compiler-warning
author
Pavel Rochnyak
<pavel2000@ngs.ru>
Wed, 20 Feb 2019 11:37:40 +0000
(18:37 +0700)
committer
GitHub
<noreply@github.com>
Wed, 20 Feb 2019 11:37:40 +0000
(18:37 +0700)
oauth.c: fix compiler warning
src/utils/oauth/oauth.c
patch
|
blob
|
history
diff --git
a/src/utils/oauth/oauth.c
b/src/utils/oauth/oauth.c
index
671de84
..
4b31056
100644
(file)
--- a/
src/utils/oauth/oauth.c
+++ b/
src/utils/oauth/oauth.c
@@
-280,7
+280,7
@@
static int get_assertion(oauth_t *auth, char *buffer,
status = snprintf(buffer, buffer_size, "%s.%s.%s", header, claim, signature);
if (status < 1)
return -1;
- else if (status >= buffer_size)
+ else if (
(size_t)
status >= buffer_size)
return ENOMEM;
return 0;