diff options
author | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-09-08 00:28:56 +0200 |
---|---|---|
committer | Kjetil Ørbekk <orbekk@pvv.ntnu.no> | 2008-09-08 00:28:56 +0200 |
commit | 8a49b269f5c49be0fb3519fda62d78078039f0fd (patch) | |
tree | a8808a379002f17fb3d6e9d93c1342910648b395 /src/mfs_cleanup_db.c | |
parent | 7a3b97bf1d1b53c9c6454515fb8cdbd51de71950 (diff) |
- Emacs modelines
Diffstat (limited to 'src/mfs_cleanup_db.c')
-rw-r--r-- | src/mfs_cleanup_db.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mfs_cleanup_db.c b/src/mfs_cleanup_db.c index e4eb70b..a15b127 100644 --- a/src/mfs_cleanup_db.c +++ b/src/mfs_cleanup_db.c @@ -1,4 +1,4 @@ -/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Musicfs is a FUSE module implementing a media filesystem in userland. @@ -29,7 +29,7 @@ void mfs_delete_from_path(sqlite3 *handle, const char *path) { sqlite3_stmt *st; - int res; + int res; res = sqlite3_prepare_v2(handle, "DELETE FROM song WHERE " "filepath LIKE (?||'%')", -1, &st, NULL); @@ -60,7 +60,8 @@ void mfs_cleanup_db(sqlite3 *handle) { DEBUG("cleaning up db\n"); - /* sqlite doesn't support deleting from multiple tables at the same time :-( */ + /* sqlite doesn't support deleting from multiple tables at the + same time :-( */ sqlite3_stmt *st; int res; const char *path; |