X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=examples%2Ffile-socket.lisp;h=cdfcb25edf333f2a23f290c13ba9a68dcf4847d9;hb=27073cc090c29aa5dcf9ed9becdf3e73b937b0bb;hp=3ae12ccf051311d218da9d94cfc9c8c01718f3b1;hpb=3ade95bab16abe09642554e9cbf56f117f01e507;p=uffi.git diff --git a/examples/file-socket.lisp b/examples/file-socket.lisp index 3ae12cc..cdfcb25 100644 --- a/examples/file-socket.lisp +++ b/examples/file-socket.lisp @@ -7,9 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Jul 2002 ;;;; -;;;; $Id$ -;;;; -;;;; This file, part of UFFI, is Copyright (c) 2002-2005 by Kevin M. Rosenberg +;;;; This file, part of UFFI, is Copyright (c) 2002-2010 by Kevin M. Rosenberg ;;;; ;;;; ************************************************************************* @@ -30,10 +28,10 @@ (serv-addr :void-pointer) (addr-len :int)) :returning :int) - + (defun connect-to-file-socket (filename) (let ((socket (c-socket PF_UNIX SOCK_STREAM 0))) (if (plusp socket) - (let ((stream (c-connect socket filename (length filename)))) - stream) + (let ((stream (c-connect socket filename (length filename)))) + stream) (error "Unable to create socket"))))