Age | Commit message (Collapse) | Author |
|
|
|
Rename it to char buf[], to make it clearer how it should be used.
|
|
when there won't be any more memory allocated for them.
The redirect inline function params are swapped a bit.
|
|
|
|
Both structs have char * as their first elements.
Pointers to the structs are pointers to each of their first elements.
(https://beej.us/guide/bgc/html/split/structs-ii-more-fun-with-structs.html#fake-oop)
So, they would be char ** (not char *, as they're pointers to char *).
We then take the objects they point to, to get char *, so that we can
compare them with strcmp.
|
|
though less efficient
|
|
Less efficient, but it's more about clarity for now.
Variable name shortened a bit.
Nonce size made static.
|
|
|
|
|
|
First the param needs to be checked, and only assign the value if the
param exists. This should prevent a crash if anyone sends a GET request
without any of those parameters.
|
|
|
|
The minimum to pass all authentications and arrive at the embedded app
index. This library is to be used with shopify-app-template-c for now,
as it assumes the existence of shopify.app.toml in the parent directory,
and index.html in the frontend directory.
|