Hello,
I create new patch file, which fix only smbclient. New smbclient don't
allow char "-" at the end (and exit with error). Old smbclient works
fine with or without char "-". So can you upload this patch on svn?

-- 
Pali Rohár
pali.ro...@gmail.com
Index: kdenetwork/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp
===================================================================
--- kdenetwork/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp	(revision 898169)
+++ kdenetwork/kopete/protocols/winpopup/libwinpopup/libwinpopup.cpp	(working copy)
@@ -161,7 +161,7 @@
 	// for Samba 3
 	readGroupsProcess = new QProcess;
 	QStringList args;
-	args << "-N" << "-g" << "-L" << Host << "-";
+	args << "-N" << "-g" << "-L" << Host;
 
 	connect(readGroupsProcess, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(slotReadProcessExited(int, QProcess::ExitStatus)));
 
@@ -322,7 +322,7 @@
 {
 	QProcess *sender = new QProcess(this);
 	QStringList args;
-	args << "-M" << Destination << "-N" << "-";
+	args << "-M" << Destination << "-N";
 	sender->start(smbClientBin, args);
 	sender->write(Body.trimmed().toLocal8Bit());
 	sender->closeWriteChannel();

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel

Reply via email to