From patchwork Sat Sep 3 18:30:43 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.Y.M" X-Patchwork-Id: 12005 Received: from c-24-10-6-146.hsd1.ca.comcast.net ([24.10.6.146] helo=nofear.bounceme.net) by www.linuxtv.org with esmtp (Exim 4.34) id 1EBcme-0005Qq-AG for vdr@linuxtv.org; Sat, 03 Sep 2005 20:30:32 +0200 Received: from [10.1.1.66] (hades [10.1.1.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by nofear.bounceme.net (Postfix) with ESMTP id 88F9573534 for ; Sat, 3 Sep 2005 11:29:56 -0700 (PDT) Message-ID: <4319EBD3.3050809@syphir.sytes.net> Date: Sat, 03 Sep 2005 11:30:43 -0700 From: "C.Y.M" Organization: CooLNeT User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Klaus Schmidinger's VDR Subject: Re: [vdr] Can't compile streamdev-server References: <005501c5b0b3$ef260cd0$01c8a8c0@pcserver> In-Reply-To: <005501c5b0b3$ef260cd0$01c8a8c0@pcserver> X-Enigmail-Version: 0.92.0.0 X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syphir@syphir.sytes.net, Klaus Schmidinger's VDR List-Id: Klaus Schmidinger's VDR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2005 18:30:32 -0000 Status: O X-Status: X-Keywords: X-UID: 4732 kafifi wrote: > Hello, > > I am using vdr-1.3.31 (under Kernel 2.6.13), and > streamdev-cvs_for_vdr-1.3.23. > No problem with "streamdev-client", but "streamdev-server" doesn't compile, > and return theses errors : > Try this: --- streamdev/server/connectionVTP.c.orig 2005-05-29 12:20:40.000000000 -0700 +++ streamdev/server/connectionVTP.c 2005-05-29 12:25:30.000000000 -0700 @@ -369,8 +369,8 @@ if (isnumber(Option)) { cRecording *recording = Recordings.Get(strtol(Option, NULL, 10) - 1); if (recording) { - if (recording->Summary()) { - char *summary = strdup(recording->Summary()); + if (recording->Info()->Description()) { + char *summary = strdup(recording->Info()->Description()); Reply(250, "%s", strreplace(summary,'\n','|')); free(summary); }