Browse Source

Merge pull request #1108 from majestrate/fix-issue-1107

Fix issue 1107
pull/1109/head
orignal 7 years ago committed by GitHub
parent
commit
f2a14047eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libi2pd/HTTP.cpp

2
libi2pd/HTTP.cpp

@ -99,7 +99,7 @@ namespace http { @@ -99,7 +99,7 @@ namespace http {
user = url.substr(pos_p, delim - pos_p);
delim += 1;
pass = url.substr(delim, pos_c - delim);
} else {
} else if(delim) {
user = url.substr(pos_p, pos_c - pos_p);
}
pos_p = pos_c + 1;

Loading…
Cancel
Save