Delete the old content file if there is new updating.
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 10 Sep 2013 03:40:53 +0000 (12:40 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 10 Sep 2013 03:40:53 +0000 (12:40 +0900)
Change-Id: I9ada669eb4081d75a119941f33d50ab635729a75

src/livebox.c

index a2bc93f..0b5ddcd 100644 (file)
@@ -2802,11 +2802,9 @@ void lb_set_id(struct livebox *handler, const char *id)
 void lb_set_filename(struct livebox *handler, const char *filename)
 {
        if (handler->filename) {
-               /*
                if (unlink(handler->filename) < 0) {
                        ErrPrint("unlink: %s\n", strerror(errno));
                }
-               */
 
                free(handler->filename);
        }