]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fd.c
string: Rename para_malloc() -> alloc().
[paraslash.git] / fd.c
diff --git a/fd.c b/fd.c
index 33891d2e6c9f1c3568428b1df93b4b92e295ef61..f7a2802a39db957c35f748af1faa96217a2580fe 100644 (file)
--- a/fd.c
+++ b/fd.c
@@ -286,7 +286,7 @@ int read_nonblock(int fd, void *buf, size_t sz, fd_set *rfds, size_t *num_bytes)
 int read_pattern(int fd, const char *pattern, size_t bufsize, fd_set *rfds)
 {
        size_t n, len;
-       char *buf = para_malloc(bufsize + 1);
+       char *buf = alloc(bufsize + 1);
        int ret = read_nonblock(fd, buf, bufsize, rfds, &n);
 
        buf[n] = '\0';