Removed snprintf call. Everything is pure C89 now.