From 8f4dfc796aa0c2ad6638d7246118158e9c41c78c Mon Sep 17 00:00:00 2001 From: EdwinGH <36776350+EdwinGH@users.noreply.github.com> Date: Fri, 19 May 2023 11:35:59 +0200 Subject: [PATCH] Update MySQL_Connection.h Modified input char* variables to const --- src/MySQL_Connection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MySQL_Connection.h b/src/MySQL_Connection.h index 6537b99..1816996 100644 --- a/src/MySQL_Connection.h +++ b/src/MySQL_Connection.h @@ -42,8 +42,8 @@ class MySQL_Connection : public MySQL_Packet { public: MySQL_Connection(Client *client_instance) : MySQL_Packet(client_instance) {} - boolean connect(IPAddress server, int port, char *user, char *password, - char *db=NULL); + boolean connect(IPAddress server, int port, const char *user, const char *password, + const char *db=NULL); int connected() { return client->connected(); } const char *version() { return MYSQL_VERSION_STR; } void close();