Retrieving the Array of strings

Havoc Pennington hp at
Fri Jan 12 08:04:00 PST 2007

Kaustubh Atrawalkar wrote:
> I was defining them as
> char appname[];
> char apptitle[];
> but after your mail i tried to change it to
> char *appname;
> char *apptitle;
> and it worked. But anyway i was retrieving in a variable.. Is that its 
> not copying the content..but its copying the pointer ??

Yes. If it was copying the content you'd have an even bigger problem 
though, since "char appname[]" does not allocate any storage ;-)


More information about the dbus mailing list