aboutsummaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/librc-misc.c2
-rw-r--r--src/librc/librc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c
index 97cec382..f83745f2 100644
--- a/src/librc/librc-misc.c
+++ b/src/librc/librc-misc.c
@@ -61,7 +61,7 @@ rc_getline(char **line, size_t *len, FILE *fp)
char *p;
size_t last = 0;
- while(!feof(fp)) {
+ while (!feof(fp)) {
if (*line == NULL || last != 0) {
*len += BUFSIZ;
*line = xrealloc(*line, *len);
diff --git a/src/librc/librc.c b/src/librc/librc.c
index a5b0bbdb..7062d16a 100644
--- a/src/librc/librc.c
+++ b/src/librc/librc.c
@@ -209,7 +209,7 @@ rc_sys_v2(void)
if (systype) {
char* s = systype;
// Convert to uppercase
- while(s && *s) {
+ while (s && *s) {
if (islower((unsigned char)*s))
*s = toupper((unsigned char)*s);
s++;