summaryrefslogtreecommitdiff
path: root/apps/tagdb/tag_dummy.c
blob: f0125f32ea20e35eaa130357933210ae3f611e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "config.h"
#include "malloc.h"

#include "tag_dummy.h"
#include <string.h>

int tag_dummy(char *file, struct tag_info *t) {
	t->song = malloc(strlen(file)+1);
	strcpy(t->song, file);
	return ERR_NONE;
}