~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to util/uri.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
342
342
 * @uri:  pointer to an URI structure
343
343
 * @str:  the string to analyze
344
344
 *
345
 
 * Parse an user informations part and fills in the appropriate fields
 
345
 * Parse a user information part and fill in the appropriate fields
346
346
 * of the @uri structure
347
347
 *
348
348
 * userinfo      = *( unreserved / pct-encoded / sub-delims / ":" )
508
508
 
509
509
    cur = *str;
510
510
    /*
511
 
     * try to parse an userinfo and check for the trailing @
 
511
     * try to parse a userinfo and check for the trailing @
512
512
     */
513
513
    ret = rfc3986_parse_user_info(uri, &cur);
514
514
    if ((ret != 0) || (*cur != '@'))