aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/main/utils.c b/main/utils.c
index 25de47ef3..653c31312 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -352,9 +352,6 @@ int ast_base64decode(unsigned char *dst, const char *src, int max)
cnt++;
}
}
- if (cnt == max)
- dst--;
- *dst = '\0';
/* Dont worry about left over bits, they're extra anyway */
return cnt;
}