From 2242b028c1ed7864cd5118d6fa3db47aa95ae1a2 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Fri, 2 Jan 2009 01:44:00 +0000 Subject: Several new devices and fixes --- examples/sendfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/sendfile.c') diff --git a/examples/sendfile.c b/examples/sendfile.c index dd52ad3..a98a3da 100644 --- a/examples/sendfile.c +++ b/examples/sendfile.c @@ -2,7 +2,7 @@ * \file sendfile.c * Example program to send an arbitrary file to a device. * - * Copyright (C) 2005-2007 Linus Walleij + * Copyright (C) 2005-2009 Linus Walleij * Copyright (C) 2006 Chris A. Debenham * * This library is free software; you can redistribute it and/or @@ -85,7 +85,7 @@ int sendfile_function(char * from_path, char *to_path) genfile->filesize = filesize; genfile->filename = strdup(filename); genfile->filetype = find_filetype (filename); - genfile->parent_id = 0; + genfile->parent_id = parent_id; genfile->storage_id = 0; printf("Sending file...\n"); -- cgit v1.2.1