mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Use NULL instead of 0
Patch by Sascha Wildner <saw@online.de> for Dragonfly Reviewed by: des Obtained from: Dragonfly MFC after: 1 week
This commit is contained in:
parent
47fdf913c1
commit
6064928d01
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267131
|
@ -1030,7 +1030,7 @@ typedef struct {
|
|||
static void
|
||||
init_http_auth_params(http_auth_params_t *s)
|
||||
{
|
||||
s->scheme = s->realm = s->user = s->password = 0;
|
||||
s->scheme = s->realm = s->user = s->password = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1249,7 +1249,7 @@ http_digest_auth(conn_t *conn, const char *hdr, http_auth_challenge_t *c,
|
|||
int r;
|
||||
char noncecount[10];
|
||||
char cnonce[40];
|
||||
char *options = 0;
|
||||
char *options = NULL;
|
||||
|
||||
if (!c->realm || !c->nonce) {
|
||||
DEBUG(fprintf(stderr, "realm/nonce not set in challenge\n"));
|
||||
|
|
Loading…
Reference in a new issue