[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: static i18() strings
From:       Bernd Gehrmann <bernd () physik ! hu-berlin ! de>
Date:       1999-06-17 19:32:12
[Download RAW message or body]

On Thu, 17 Jun 1999 Harri Porten wrote:
>I changed this to:
>
>	bool ftpLogin( ... , QString *redirect = 0L );
>[....]
>	if( redirect == 0L )
>	  return true;
>[....]
>	redirect = new QString(....);
>
>Okay ?

If the last statement is supposed to set to local
variable redirect, yes. If you want to use it as
a kind of return value, no. Then it would have to
be 
  *redirect = foo;

Bernd

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic