aboutsummaryrefslogtreecommitdiff
path: root/sysutils/linneighborhood/files/patch-data.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/linneighborhood/files/patch-data.c')
-rw-r--r--sysutils/linneighborhood/files/patch-data.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/linneighborhood/files/patch-data.c b/sysutils/linneighborhood/files/patch-data.c
new file mode 100644
index 000000000000..7138363dbe20
--- /dev/null
+++ b/sysutils/linneighborhood/files/patch-data.c
@@ -0,0 +1,12 @@
+--- src/data.c.orig Thu Apr 10 21:59:12 2003
++++ src/data.c Thu Apr 10 22:45:59 2003
+@@ -171,6 +171,9 @@
+ {
+ if ( mount )
+ {
++ char *c = strchr(mount->machine, '@'); // remove user name from smb name
++ if (c)
++ memmove(mount->machine, c+1, strlen(c)+1);
+ if ( mount_list_search_by_mountpoint(mount->mountpoint) == NULL )
+ {
+ mountlist = g_slist_append(mountlist, mount);