summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opie-smb/opie-smb.control2
-rw-r--r--noncore/net/opie-smb/qsmb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/noncore/net/opie-smb/opie-smb.control b/noncore/net/opie-smb/opie-smb.control
index 98a23b4..fc8c316 100644
--- a/noncore/net/opie-smb/opie-smb.control
+++ b/noncore/net/opie-smb/opie-smb.control
@@ -1,10 +1,10 @@
1Package: opie-smb 1Package: opie-smb
2Files: plugins/application/libopie-smb.so* bin/opie-smb pics/opie-smb apps/Applications/opie-smb.desktop 2Files: plugins/application/libopie-smb.so* bin/opie-smb bin/smbfind pics/opie-smb apps/Applications/opie-smb.desktop
3Version: $QPE_VERSION$EXTRAVERSION 3Version: $QPE_VERSION$EXTRAVERSION
4Architecture: arm 4Architecture: arm
5Arch: arm 5Arch: arm
6Maintainer: Kurt Korbatits (support@midget.net.au) 6Maintainer: Kurt Korbatits (support@midget.net.au)
7Section: Network 7Section: Network
8Priority: optional 8Priority: optional
9Description: Gui front end for samba utilities. 9Description: Gui front end for samba utilities.
10Source: 10Source:
diff --git a/noncore/net/opie-smb/qsmb.cpp b/noncore/net/opie-smb/qsmb.cpp
index 527ab38..880573b 100644
--- a/noncore/net/opie-smb/qsmb.cpp
+++ b/noncore/net/opie-smb/qsmb.cpp
@@ -117,17 +117,17 @@ void Qsmb::scan()
117 } 117 }
118 while(fgets(result, 256, pipe) != NULL) { 118 while(fgets(result, 256, pipe) != NULL) {
119 strcpy( match, result); 119 strcpy( match, result);
120 match[5]='\0'; 120 match[5]='\0';
121 break; 121 break;
122 } 122 }
123 owarn << "match: " << match << oendl; 123 owarn << "match: " << match << oendl;
124 124
125 cmd = "/usr/bin/findsmb"; 125 cmd = "smbfind";
126 owarn <<"cmd: " << cmd << oendl; 126 owarn <<"cmd: " << cmd << oendl;
127 127
128 TextViewOutput->append(cmd); 128 TextViewOutput->append(cmd);
129 129
130 snprintf(lmhosts, 512, "echo '127.0.0.1 localhost'>/etc/samba/lmhosts"); 130 snprintf(lmhosts, 512, "echo '127.0.0.1 localhost'>/etc/samba/lmhosts");
131 131
132 if ((pipe2 = popen(lmhosts, "r")) == NULL) { 132 if ((pipe2 = popen(lmhosts, "r")) == NULL) {
133 snprintf(result, 256, "Error: Can't run %s", lmhosts); 133 snprintf(result, 256, "Error: Can't run %s", lmhosts);