Update jwt.c
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 1m17s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 14s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 12s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make-Without-sqlite3 (push) Successful in 10s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake-Without-sqlite3 (push) Successful in 15s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson-Without-sqlite3 (push) Successful in 13s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 1m17s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 14s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 12s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make-Without-sqlite3 (push) Successful in 10s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake-Without-sqlite3 (push) Successful in 15s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson-Without-sqlite3 (push) Successful in 13s
This commit is contained in:
1 parent
4db6ec16fb
commit
e4efaa6165
1 file changed
+1
-1
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
// Удаляет символы '=' в конце строки (падинг)
|
// Удаляет символы '=' в конце строки (падинг)
|
||||||
static void remove_padding(const char *str) {
|
static void remove_padding(char *str) {
|
||||||
char *pos = strchr(str, '\0');
|
char *pos = strchr(str, '\0');
|
||||||
while (pos > str && *(pos - 1) == '=') {
|
while (pos > str && *(pos - 1) == '=') {
|
||||||
*(--pos) = '\0';
|
*(--pos) = '\0';
|
||||||
|
|||||||
Reference in new issue
Block a user