if no server is specified flagsp points into urls->server.
Signed-off-by: Peter Lieven <pl@kamp.de>
}
}
- if (urls->server && strlen(urls->server) <= 1) {
- free(urls->server);
- urls->server = NULL;
- }
-
while (flagsp != NULL && *(flagsp+1) != 0) {
strp = flagsp + 1;
flagsp = strchr(strp, '&');
}
}
+ if (urls->server && strlen(urls->server) <= 1) {
+ free(urls->server);
+ urls->server = NULL;
+ }
+
return urls;
}