Mercurial > dropbear
comparison dbutil.c @ 1925:7ac3b6c380b1
Fix C99 comment
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 30 Mar 2022 14:28:59 +0800 |
parents | 667937351c31 |
children | 83b6a47759a8 |
comparison
equal
deleted
inserted
replaced
1924:667937351c31 | 1925:7ac3b6c380b1 |
---|---|
615 char *endp; | 615 char *endp; |
616 | 616 |
617 l = strtoul(str, &endp, 10); | 617 l = strtoul(str, &endp, 10); |
618 | 618 |
619 if (endp == str || *endp != '\0') { | 619 if (endp == str || *endp != '\0') { |
620 // parse error | 620 /* parse error */ |
621 return DROPBEAR_FAILURE; | 621 return DROPBEAR_FAILURE; |
622 } | 622 } |
623 | 623 |
624 /* The c99 spec doesn't actually seem to define EINVAL, but most platforms | 624 /* The c99 spec doesn't actually seem to define EINVAL, but most platforms |
625 * I've looked at mention it in their manpage */ | 625 * I've looked at mention it in their manpage */ |