femon cleanup/SVDRP enhancement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 20, 2006 at 08:33:28AM +0200, Frank Schmirler wrote:
> On Mon, 19 Jun 2006 20:52:33 +0200, Herbert Poetzl wrote
> > +  else if (strcasecmp(Command, "INFO") == 0) {
> > +     cString str = getFrontendInfo(atoi(Option));
> 
> I like the possibility to pass the device index as option. However it should
> be optional. I'd suggest:
> 
> cString str = getFrontendInfo(*Option ? atoi(Option) :
> cDevice::ActualDevice()->CardIndex());

ah, yes good point ...

> Would be nice if all commands worked that way...

should be easy to add, when I find some time, I'll
prepare a patch if that is appreciated ...

best,
Herbert

> Cheers,
> Frank
> 
> _______________________________________________
> vdr mailing list
> vdr@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux