Lines Matching defs:pass
212 clen = strlen(uuser) + strlen(upass) + 2; /* user + ":" + pass + "\0" */
295 * user, pass and path.
323 char **uuser, char **pass, char **host, char **port,
331 || pass == NULL || host == NULL || port == NULL || portnum == NULL
338 *uuser = *pass = *host = *port = *path = NULL;
359 if (*pass != NULL)
360 memset(*pass, 0, strlen(*pass));
361 FREEPTR(*pass);
371 /* find [user[:pass]@]host[:port] */
384 cp = strchr(thost, '@'); /* look for user[:pass]@ in URLs */
394 *pass = ftp_strdup(cp + 1);
397 if (*pass)
398 url_decode(*pass);
458 DPRINTF("parse_url: user `%s' pass `%s' host %s port %s(%d) "
460 STRorNULL(*uuser), STRorNULL(*pass),
502 char *uuser, *pass, *host, *port, *path;
523 uuser = pass = host = path = decodedpath = puser = ppass = NULL;
525 if (parse_url(url, "URL", &urltype, &uuser, &pass, &host, &port,
1053 apass = pass;
1331 if (pass != NULL)
1332 memset(pass, 0, strlen(pass));
1333 FREEPTR(pass);
1373 char *host, *path, *dir, *file, *uuser, *pass;
1383 host = path = dir = file = uuser = pass = NULL;
1389 if ((parse_url(url, "URL", &urltype, &uuser, &pass,
1480 DPRINTF("fetch_ftp: user `%s' pass `%s' host %s port %s "
1482 STRorNULL(uuser), STRorNULL(pass),
1515 (connected == 1 && !ftp_login(host, uuser, pass))) {
1691 if (pass)
1692 memset(pass, 0, strlen(pass));
1693 FREEPTR(pass);
1850 * make sure we always pass a directory to auto_fetch