Now that dup_server() accepts const pointer, append_serve() can also
accept const pointer. There should not be any need to modify the server
when appending it to the array.
Signed-off-by: Tuomas Jorma Juhani Räsänen <tuomasjjrasanen@tjjr.fi>
* @param a server array
* @return 0 success, -1 error
*/
-int append_serve(SERVER *s, GArray *a) {
+int append_serve(const SERVER *const s, GArray *const a) {
SERVER *ns = NULL;
struct addrinfo hints;
struct addrinfo *ai = NULL;