Diff for /libaitsync/src/patch.c between versions 1.2 and 1.3

version 1.2, 2011/05/09 14:36:33 version 1.3, 2012/07/22 22:09:47
Line 12  terms: Line 12  terms:
 All of the documentation and software included in the ELWIX and AITNET  All of the documentation and software included in the ELWIX and AITNET
 Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>  Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org>
   
Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
         by Michael Pounov <misho@elwix.org>.  All rights reserved.          by Michael Pounov <misho@elwix.org>.  All rights reserved.
   
 Redistribution and use in source and binary forms, with or without  Redistribution and use in source and binary forms, with or without
Line 47  SUCH DAMAGE. Line 47  SUCH DAMAGE.
 #include "patch.h"  #include "patch.h"
   
   
int sync_buildPatch(void * __restrict buf, u_int buflen, struct tagPiece ** __restrict arr)/*
  * sync_buildPatch() Build patch from buffer to pieces array
  * @buf = Input buffer
  * @buflen = Buffer length
  * @arr = Array from pieces
  * return: -1 error, != -1 num pieces
 */
 int
 sync_buildPatch(void * __restrict buf, u_int buflen, struct tagPiece ** __restrict arr)
 {  {
         void *pos;          void *pos;
         sync_chunk_t *prefix, *suffix;          sync_chunk_t *prefix, *suffix;

Removed from v.1.2  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>