88 |
|
if (url.find("http://") != 0 || url.length() <= 7) |
89 |
|
{ |
90 |
|
cerr << program << ": Malformed URL: " << url << "\n"; |
91 |
+ |
|
92 |
|
exit(1); |
93 |
|
} |
94 |
|
|
176 |
|
#ifndef _OpenSSL_ |
177 |
|
if (link.find("http://") == 0 && link.length() > 7) hyperlink = link; |
178 |
|
#else |
179 |
< |
if (link.find("http://") == 0 && link.length() > 7 || |
180 |
< |
link.find("https://") == 0 && link.length() > 8) hyperlink = link; |
179 |
> |
if (link.find("http://") == 0 && link.length() > 7 |
180 |
> |
|| link.find("https://") == 0 && link.length() > 8) |
181 |
> |
hyperlink = link; |
182 |
|
#endif |
183 |
|
} |
184 |
|
else if (link.find("mailto:") == 0) |