🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16859

Protocol handler

#16859
From: Terry
Date: Tue, 22 Apr 2003 17:36
19 lines
1416 bytes
Does this make any sense at all

.Start(szUrl: PWideChar; etc....
{
 if Pos('http://' + NameSpace + '/', LowerCase(szUrl)) <> 1
  then Result := INET_E_USE_DEFAULT_PROTOCOLHANDLER

}

This string is sent: 'http://testprogram/page1.htm'

Yet the code is checking for the same string, what i see thats going
on is

if(szUrl == szUrl)

Am i wrong in my assumption, because from what i see its just checking
the
entire string for the same value.
Technical Details
Message-ID: <3ea57da4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,eef4e20a7fd5595c,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-22 10:45:48 PST
Reply-To: "Terry" <terry@helloworld.com>
From: "Terry" <terry@helloworld.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Protocol handler
Date: Tue, 22 Apr 2003 12:36:38 -0500
Lines: 21
Organization: here
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 67.66.212.197
Message-ID: <3ea57da4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1051032996 67.66.212.197 (22 Apr 2003 10:36:36 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail