summaryrefslogtreecommitdiffstats
path: root/sfshare-daemon/src/samba_share.c
diff options
context:
space:
mode:
Diffstat (limited to 'sfshare-daemon/src/samba_share.c')
-rw-r--r--sfshare-daemon/src/samba_share.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfshare-daemon/src/samba_share.c b/sfshare-daemon/src/samba_share.c
index 592f53e..01c91b8 100644
--- a/sfshare-daemon/src/samba_share.c
+++ b/sfshare-daemon/src/samba_share.c
@@ -214,7 +214,7 @@ gint check_item(TSmbConfItem *item)
* Parse line of smb.conf and fill competent field of item structure
*/
void
-ParseShareItem(gchar *txt, TSmbConfItem *item)
+parse_to_share_item (gchar *txt, TSmbConfItem *item)
{
gchar *lower = g_ascii_strdown(txt, strlen(txt));
gboolean found = FALSE;
@@ -404,7 +404,7 @@ load_smb_conf (GPtrArray *shared_items)
TSmbConfItem *tmp = g_ptr_array_index(shared_items, arr_index);
/* Recognize parameters and fill in item */
- ParseShareItem (line, tmp);
+ parse_to_share_item (line, tmp);
}
@@ -467,7 +467,7 @@ share_name_exist (GPtrArray *shared_items, const gchar *sharename)
* Write new share section or change chare section defined by share parameter
*/
gint
-write_share(GPtrArray *shared_items, TSmbConfItem *share)
+write_share (GPtrArray *shared_items, TSmbConfItem *share)
{
TSmbConfItem *item; /* Shared item */