Article View: news.software.nntp
Article #27166Re: innd - source q1
From: Sven Paulus
Date: Wed, 25 Mar 1998 00:00
Date: Wed, 25 Mar 1998 00:00
24 lines
1284 bytes
1284 bytes
makler@man.torun.pl wrote: mmtp> address[0] = '\0'; mmtp> Why address[SMBUF] is declared as static, if this is cut mmtp> to null string in the line address[0] = '\0'. Continue reading the source file a few lines, you'll find: if (*p == '.') *p = '-'; >>>> (void)sprintf(address, save, name); break; This is the main reason for address[] being static. What you saw was only the initialzation of the variable. Sven -- --Sven-Paulus----------28-48-32--3-----ub6v@rz.uni-karlsruhe.de------ --Karlstr.-55----------30--2-50-29-----sven@oops.sub.de-------------- --D-76133-Karlsruhe----44-49-10--8-----T#-49-721-9375094---------irc- --PGP-ID-3C9A6091-------9-12-19-71-----F#-49-721-9375095-----svennie-
Technical Details
Message-ID:
<6fb395$49r$1@imperator.oops.sub.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6fangr$o2g$1@flis.man.torun.pl>Show Full Headers
Complete Article Headers
Message-ID: <6fb395$49r$1@imperator.oops.sub.de> Subject: Re: innd - source q1 Date: Wed, 25 Mar 1998 00:00:00 +0000 From: Sven Paulus <sven@oops.sub.de> References: <6fangr$o2g$1@flis.man.torun.pl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 337532535 Organization: clueless in Karlsruhe, Germany Newsgroups: news.software.nntp