-/* $Id: http.c,v 1.31 2021/09/14 16:37:20 tb Exp $ */
+/* $Id: http.c,v 1.32 2022/12/14 18:32:26 florian Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
}
*ccp++ = '\0';
- while (isspace((int)*ccp))
+ while (isspace((unsigned char)*ccp))
ccp++;
h[hsz].key = cp;
h[hsz++].val = ccp;
-/* $Id: netproc.c,v 1.32 2022/11/09 19:11:14 mbuhl Exp $ */
+/* $Id: netproc.c,v 1.33 2022/12/14 18:32:26 florian Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
err(EXIT_FAILURE, "malloc");
for (j = 0, i = 0; i < buf->sz; i++)
- if (isspace((int)buf->buf[i])) {
+ if (isspace((unsigned char)buf->buf[i])) {
nbuf[j++] = ' ';
- while (isspace((int)buf->buf[i]))
+ while (isspace((unsigned char)buf->buf[i]))
i++;
i--;
} else
- nbuf[j++] = isprint((int)buf->buf[i]) ?
+ nbuf[j++] = isprint((unsigned char)buf->buf[i]) ?
buf->buf[i] : '?';
dodbg("transfer buffer: [%.*s] (%zu bytes)", j, nbuf, buf->sz);
free(nbuf);
-/* $Id: revokeproc.c,v 1.20 2022/12/14 15:44:13 otto Exp $ */
+/* $Id: revokeproc.c,v 1.21 2022/12/14 18:32:26 florian Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
while ((tok = strsep(&str, ",")) != NULL) {
if (*tok == '\0')
continue;
- while (isspace((int)*tok))
+ while (isspace((unsigned char)*tok))
tok++;
if (strncmp(tok, "DNS:", 4))
continue;