Fix ftbfs on Fedora 34 #5

Merged
MicheleC merged 1 commits from ftbfs/fedora34 into master 3 years ago

@ -205,7 +205,7 @@ TdeSudo::TdeSudo(TQWidget *parent, const char *name,const TQString& icon, const
chmod(m_tmpname.ascii(),0644);
QCStringList output;
while (fgets(buf, 1024, f) > 0)
while (fgets(buf, 1024, f) != NULL)
output += buf;
if (pclose(f) < 0) {
kdError() << k_lineinfo << "Could not run xauth.\n";

Loading…
Cancel
Save