aboutsummaryrefslogtreecommitdiffstats
path: root/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'base64.c')
-rw-r--r--base64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/base64.c b/base64.c
index 2deebc8a..1dc533dd 100644
--- a/base64.c
+++ b/base64.c
@@ -90,7 +90,7 @@ int from64tobits(char *out, const char *in)
}
}
} while
- (*in != '\r' && digit4 != '=');
+ (*in && *in != '\r' && digit4 != '=');
return (len);
}