Update method to match variable name

This commit is contained in:
Nick Chambers 2022-06-29 14:44:45 -05:00
parent 856442c97d
commit 52577843c3
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#include <gargoyle/privledge.h>
#include <stdint.h>
uint8_t gargoyle_digest_args(uint16_t optc, struct gargoyle_opt *optv, int *argc, char ***argv, gargoyle_flag_type flags);
uint8_t gargoyle_digest_argv(uint16_t optc, struct gargoyle_opt *optv, int *argc, char ***argv, gargoyle_flag_type flags);
uint8_t gargoyle_digest_envh(uint16_t optc, struct gargoyle_opt *optv, const char *prefix, uint16_t prefix_sz, char ***envh, gargoyle_flag_type flags);
#endif

View File

@ -4,7 +4,7 @@
#include <gargoyle/twine.h>
#include <stddef.h>
uint8_t gargoyle_digest_args(uint16_t optc, struct gargoyle_opt *optv, int *argc, char ***argv, gargoyle_flag_type flags) {
uint8_t gargoyle_digest_argv(uint16_t optc, struct gargoyle_opt *optv, int *argc, char ***argv, gargoyle_flag_type flags) {
if(!(flags & GARGOYLE_FLG_GREED)) {
*argc -= 1;
*argv += 1;