Maintain libhash in the conffile module

This commit is contained in:
Julien BLACHE
2010-04-02 18:28:43 +02:00
parent 27acda871a
commit e3fb8f00cf
4 changed files with 12 additions and 12 deletions

View File

@@ -236,7 +236,6 @@ register_services(char *ffid, int no_rsp, int no_daap)
char records[9][128];
int port;
uint32_t hash;
uint64_t libhash;
int i;
int ret;
@@ -301,8 +300,6 @@ register_services(char *ffid, int no_rsp, int no_daap)
memset(records[i], 0, 128);
}
libhash = murmur_hash64(libname, strlen(libname), 0);
snprintf(txtrecord[0], 128, "txtvers=1");
snprintf(txtrecord[1], 128, "DbId=%016" PRIX64, libhash);
snprintf(txtrecord[2], 128, "DvTy=iTunes");