Fixed a misspelling of 0 as NULL.
This commit is contained in:
parent
8f650450c6
commit
f342fec625
@ -325,7 +325,7 @@ userlist(int argc, char **argv)
|
||||
continue;
|
||||
*conf_realname = '\0'; /* Replace : with NUL */
|
||||
for (p = argv; *p; ++p) {
|
||||
if (strcmp(*p, conf_alias) == NULL) {
|
||||
if (strcmp(*p, conf_alias) == 0) {
|
||||
if ((*p = strdup(conf_realname+1)) == NULL) {
|
||||
err(1, NULL);
|
||||
}
|
||||
|
@ -246,7 +246,7 @@ copystr(void)
|
||||
}
|
||||
out:
|
||||
*cp = 0;
|
||||
printf("%d", hashit(buf, 1, NULL));
|
||||
printf("%d", hashit(buf, 1, 0));
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user