[Commits] r669 - trunk/daemon/src
new-commit at lists.openvcp.org
new-commit at lists.openvcp.org
Sun May 24 11:52:09 UTC 2009
Author: cryptronic
Date: 2009-05-24 11:52:08 +0000 (Sun, 24 May 2009)
New Revision: 669
Modified:
trunk/daemon/src/userbackup.c
Log:
Modified: trunk/daemon/src/userbackup.c
===================================================================
--- trunk/daemon/src/userbackup.c 2009-05-24 11:48:05 UTC (rev 668)
+++ trunk/daemon/src/userbackup.c 2009-05-24 11:52:08 UTC (rev 669)
@@ -67,7 +67,7 @@
ovcp_response_struct_new(response);
if(strstr(dir_entry->d_name, name) != NULL)
- ovcp_response_struct_add_string(response, "name", entry->d_name);
+ ovcp_response_struct_add_string(response, "name", dir_entry->d_name);
//check whether file size file exists
sconcat(filename, BUF_SIZE, global_settings.userbackup_dir, "/", dir_entry->d_name, ".conf", NULL);
@@ -191,9 +191,12 @@
struct ovcp_response_st *response;
char path[BUF_SIZE+1];
+ char cachepath[BUF_SIZE];
char *name, *homedir, *backupdir, *userbackupdir, *backupname, *context;
+ int ret = 0;
+
arg0 = ovcp_request_get_arg(request, 0);
name = (char *)ovcp_data_get(arg0);
More information about the Commits
mailing list