X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=bin%2Fnbp%2Fnbprgstr.c;h=bef33a1c01b54cd57513691a85aab848999655ba;hb=b8c1894353b62eb52e59d4e0150fd3c25dcd86ba;hp=4bcf429839a189756a60bf30b271a60e8b21a18e;hpb=39cc274e6372f88f9cec1c5703f9a19d1ede3f5a;p=netatalk.git diff --git a/bin/nbp/nbprgstr.c b/bin/nbp/nbprgstr.c index 4bcf4298..bef33a1c 100644 --- a/bin/nbp/nbprgstr.c +++ b/bin/nbp/nbprgstr.c @@ -1,5 +1,5 @@ /* - * $Id: nbprgstr.c,v 1.8 2009-10-14 02:24:05 didg Exp $ + * $Id: nbprgstr.c,v 1.9 2009-10-29 11:35:58 didg Exp $ * * Copyright (c) 1990,1993 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -80,7 +80,7 @@ int main(int ac, char **av) /* Convert the name */ if ((size_t)(-1) == convert_string_allocate(CH_UNIX, chMac, - av[optind], strlen(av[optind]), &convname)) + av[optind], -1, &convname)) convname = av[optind]; /*