Skip to content

Commit

Permalink
Set fallback_key to NULL by default, not ""
Browse files Browse the repository at this point in the history
  • Loading branch information
funkybob committed Oct 4, 2017
1 parent 10d4637 commit 7a2a0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/corerouter/corerouter.c
Expand Up @@ -257,7 +257,7 @@ void uwsgi_opt_corerouter_ss(char *opt, char *value, void *cr) {
void uwsgi_opt_corerouter_fallback_key(char *opt, char *value, void *key) {
struct uwsgi_corerouter *ptr = (struct uwsgi_corerouter *) key;
if (!value) {
ptr->fallback_key = "";
ptr->fallback_key = NULL;
ptr->fallback_key_len = 0;
return;
}
Expand Down

0 comments on commit 7a2a0c0

Please sign in to comment.