* Re: [devel] [git update] packages/katrin: heads/master
@ 2007-08-29 9:58 ` Slava Semushin
2007-08-29 9:59 ` Slava Semushin
2007-08-29 10:34 ` Denis Klimov
0 siblings, 2 replies; 3+ messages in thread
From: Slava Semushin @ 2007-08-29 9:58 UTC (permalink / raw)
To: ALT Devel discussion list
2007/8/29, Slava Semushin <php_coder / altlinux.org>:
[...]
> + if (proto==6)
> + strcpy(protostr,"TCP");
> + else if (proto==17)
> + strcpy(protostr,"UDP");
> + else if (proto==1)
> + strcpy(protostr,"ICMP");
> + else {
> + sprintf(protostr,"%d",proto);
> + }
[...]
> + debug("PROTO: %s",protostr);
[...]
Зачем этот код был возвращен?
[c0der@rock ~/zver/new/katrin]$ grep protostr src/ti/libkatrin-ti-netflow.c
char protostr[5];
strcpy(protostr,"TCP");
strcpy(protostr,"UDP");
strcpy(protostr,"ICMP");
sprintf(protostr,"%d",proto);
debug("PROTO: %s",protostr);
Только в отладочных целях? Надо бы тогда вводить #ifdef DEBUG...
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] [git update] packages/katrin: heads/master
2007-08-29 9:58 ` [devel] [git update] packages/katrin: heads/master Slava Semushin
@ 2007-08-29 9:59 ` Slava Semushin
2007-08-29 10:34 ` Denis Klimov
1 sibling, 0 replies; 3+ messages in thread
From: Slava Semushin @ 2007-08-29 9:59 UTC (permalink / raw)
To: ALT Devel discussion list
2007/8/29, Slava Semushin <slava.semushin / gmail.com>:
> 2007/8/29, Slava Semushin <php_coder / altlinux.org>:
Извиняюсь. Хотел в личку...
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [devel] [git update] packages/katrin: heads/master
2007-08-29 9:58 ` [devel] [git update] packages/katrin: heads/master Slava Semushin
2007-08-29 9:59 ` Slava Semushin
@ 2007-08-29 10:34 ` Denis Klimov
1 sibling, 0 replies; 3+ messages in thread
From: Denis Klimov @ 2007-08-29 10:34 UTC (permalink / raw)
To: ALT Devel discussion list
On Wed, 29 Aug 2007 16:58:55 +0700 Slava Semushin wrote:
>
> Только в отладочных целях? Надо бы тогда вводить #ifdef DEBUG...
>
Да в отладочных,
#ifdef DEBUG тоже надо добавить.
--
Denis Klimov
zver
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-29 10:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-29 9:58 ` [devel] [git update] packages/katrin: heads/master Slava Semushin
2007-08-29 9:59 ` Slava Semushin
2007-08-29 10:34 ` Denis Klimov
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git