summaryrefslogtreecommitdiff
path: root/accel-pppd/backup/backup.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-11-22 08:56:40 +0300
committerDmitry Kozlov <xeb@mail.ru>2014-11-22 08:56:40 +0300
commit81ca3923a29ea9b67f7291be23b210019546aa5f (patch)
treefcebf0d426665b4f06e01168f27cd8f9ab8c50d8 /accel-pppd/backup/backup.c
parent830c399cf126f6bf1e8dfa1ad919a3ce8e346c5d (diff)
downloadaccel-ppp-81ca3923a29ea9b67f7291be23b210019546aa5f.tar.gz
accel-ppp-81ca3923a29ea9b67f7291be23b210019546aa5f.zip
remove trailing whitespaces
Diffstat (limited to 'accel-pppd/backup/backup.c')
-rw-r--r--accel-pppd/backup/backup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/accel-pppd/backup/backup.c b/accel-pppd/backup/backup.c
index 16349fc7..18e9332f 100644
--- a/accel-pppd/backup/backup.c
+++ b/accel-pppd/backup/backup.c
@@ -15,7 +15,7 @@ static LIST_HEAD(module_list);
struct backup_tag __export *backup_add_tag(struct backup_mod *m, uint8_t id, int internal, const void *data, size_t size)
{
struct backup_tag *t;
-
+
t = m->data->storage->alloc_tag(m->data, size);
if (!t)
return NULL;
@@ -39,7 +39,7 @@ void backup_add_fd(struct backup_mod *m, int fd)
struct backup_mod __export *backup_find_mod(struct backup_data *d, uint8_t mod_id)
{
struct backup_mod *m;
-
+
list_for_each_entry(m, &d->mod_list, entry) {
if (m->id == mod_id)
return m;
@@ -232,19 +232,19 @@ void __export backup_register_storage(struct backup_storage *s)
void backup_restore_fd()
{
-
+
}
void backup_restore(int internal)
{
struct backup_storage *storage;
struct backup_module *module;
-
+
list_for_each_entry(storage, &storage_list, entry) {
if (storage->restore)
storage->restore(internal);
}
-
+
list_for_each_entry(module, &module_list, entry) {
if (module->restore_complete)
module->restore_complete();