diff --git a/libmobile_zte.c b/libmobile_zte.c
index 1817d656e89fb793522b5a606c71acf5550dba19..76c885cb7c254637aed4c83d6c96c6c8b96874ad 100644
--- a/libmobile_zte.c
+++ b/libmobile_zte.c
@@ -8,7 +8,7 @@
 static void curl_cleaner(CURLcode *curl);
 static int apn_profile_idx(struct json_object *apn_profiles, char *name);
 static int get_apn_profiles_len(char *ip_addr);
-static char *lexer(const char **input, char *delimiter);
+static char *lexer(char const **input, char *delimiter);
 static char *get_query_wrapper(char *ip_addr, char *vars);
 static CURLcode perform_post_request(char *ip_addr, CURL *curl, char *query, struct string *str);
 static CURLcode perform_get_request(char *ip_addr, CURL *curl, char *query, struct string *str);
@@ -92,10 +92,6 @@ fail:
  * Take an input string and a delimiter which to split the string on. Returns all characters
  * prior to the delimiter, and removes it from the input string.
  *
- * IMPORTANT NOTE
- *		Will alter the input string and allocate memory for the return value!
- *		The caller is responsible for freeing the return value.
- *
  * @param[out] input: A character pointer address to the pointer pointing at the string to split.
  * @param[in] delimiter: A character pointer pointing to the delimiter on which to split the string on.
  *
@@ -104,7 +100,7 @@ fail:
  * return whatever whatever is in the string, and shift the pointer sto the end
  * of the string.
  */
-static char *lexer(const char **input, char *delimiter)
+static char *lexer(char const **input, char *delimiter)
 {
 	char *token, *substr;
 
@@ -132,6 +128,7 @@ static char *lexer(const char **input, char *delimiter)
 	return substr;
 }
 
+
 /**
  * Raps the input comma-separated values to the appropriate address format for a GET request.
  *