[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]Uri.cs : silly bugs ...
From: |
Gopal V |
Subject: |
[DotGNU]Uri.cs : silly bugs ... |
Date: |
Sat, 14 Sep 2002 02:02:35 +0530 |
User-agent: |
Mutt/1.2.5i |
Uri.cs : 724
private UriAuthority ParseAuthority(String authority)
{
UriAuthority retval;
int interimpos1=0, interimpos2=0;
interimpos1 = authority.IndexOf('@');
if (interimpos1 > 0) // there is userinfo
{
retval.userinfo = authority.Substring(0, interimpos1 -
1);
Using without initializing ? (I did get a NullReferenceException here ...)
Also the function has no return statement ... please add a correct return
statement (I would have added it , if I knew what that code did ;-)
Gopal
--
The difference between insanity and genius is measured by success
- [DotGNU]Uri.cs : silly bugs ...,
Gopal V <=