Commit cf205176 authored by Steve Holme's avatar Steve Holme
Browse files

email: Fixed segfault introduced in commit 195b63f9

parent 3ce2a399
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2314,7 +2314,7 @@ static CURLcode imap_parse_url_options(struct connectdata *conn)
  const char *ptr = options;
  bool reset = TRUE;

  while(*ptr) {
  while(ptr && *ptr) {
    const char *key = ptr;

    while(*ptr && *ptr != '=')
+1 −1
Original line number Diff line number Diff line
@@ -1834,7 +1834,7 @@ static CURLcode pop3_parse_url_options(struct connectdata *conn)
  const char *ptr = options;
  bool reset = TRUE;

  while(*ptr) {
  while(ptr && *ptr) {
    const char *key = ptr;

    while(*ptr && *ptr != '=')
+1 −1
Original line number Diff line number Diff line
@@ -1929,7 +1929,7 @@ static CURLcode smtp_parse_url_options(struct connectdata *conn)
  const char *ptr = options;
  bool reset = TRUE;

  while(*ptr) {
  while(ptr && *ptr) {
    const char *key = ptr;

    while(*ptr && *ptr != '=')