]> arthur.barton.de Git - netatalk.git/commitdiff
Changed cnid dbd API
authorFrank Lahm <franklahm@googlemail.com>
Fri, 25 Mar 2011 14:43:07 +0000 (15:43 +0100)
committerFrank Lahm <franklahm@googlemail.com>
Fri, 25 Mar 2011 14:43:07 +0000 (15:43 +0100)
bin/uniconv/uniconv.c

index 4b653521c9148f7fe9e394642881c0f166b80aad..e6d1daeb4d5fa470bb677687d3fcfc2ec7ad726d 100644 (file)
@@ -386,7 +386,7 @@ static int init(char* path)
 {
        DIR* startdir;
 
-    if (NULL == (cdb = cnid_open (path, 0, cnid_type, 0, NULL, NULL)) ) {
+    if (NULL == (cdb = cnid_open (path, 0, cnid_type, 0, "localhost", "4700")) ) {
                 fprintf (stderr, "ERROR: cannot open CNID database in '%s'\n", path);
                 fprintf (stderr, "ERROR: check the logs for reasons, aborting\n");
                return -1;