|
|
|
@ -132,8 +132,8 @@ KdeSudo::KdeSudo(TQWidget *parent, const char *name,const TQString& icon, const
|
|
|
|
|
FILE *fout;
|
|
|
|
|
char iceauthority[200];
|
|
|
|
|
char *host, *auth;
|
|
|
|
|
host = qstrdup(dcopServer);
|
|
|
|
|
auth = qstrdup(iceAuth);
|
|
|
|
|
host = tqstrdup(dcopServer);
|
|
|
|
|
auth = tqstrdup(iceAuth);
|
|
|
|
|
int tempfile;
|
|
|
|
|
int oldumask = umask(077);
|
|
|
|
|
|
|
|
|
@ -156,7 +156,7 @@ KdeSudo::KdeSudo(TQWidget *parent, const char *name,const TQString& icon, const
|
|
|
|
|
exit(1);
|
|
|
|
|
}
|
|
|
|
|
fprintf(fout, "add ICE \"\" %s %s\n", host, auth);
|
|
|
|
|
auth = qstrdup(dcopAuth);
|
|
|
|
|
auth = tqstrdup(dcopAuth);
|
|
|
|
|
//auth = xstrsep(params[P_DCOP_AUTH].value);
|
|
|
|
|
fprintf(fout, "add DCOP \"\" %s %s\n", host, auth);
|
|
|
|
|
unsetenv("ICEAUTHORITY");
|
|
|
|
|