/[hurd]/hurd/libstore/nbd.c
ViewVC logotype

Diff of /hurd/libstore/nbd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by roland, Mon Dec 31 08:00:17 2001 UTC revision 1.15 by roland, Mon Dec 31 08:06:54 2001 UTC
# Line 512  store_nbd_open (const char *name, int fl Line 512  store_nbd_open (const char *name, int fl
512        err = _store_nbd_create (sock, flags, blocksize, &run, 1, store);        err = _store_nbd_create (sock, flags, blocksize, &run, 1, store);
513        if (! err)        if (! err)
514          {          {
515            err = store_set_name (*store, name);            if (!strncmp (name, url_prefix, sizeof url_prefix - 1))
516                err = store_set_name (*store, name);
517              else
518                asprintf (&(*store)->name, "%s%s", url_prefix, name);
519            if (err)            if (err)
520              store_free (*store);              store_free (*store);
521          }          }

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26