Diff for /embedaddon/sudo/common/lbuf.c between versions 1.1.1.4 and 1.1.1.6

version 1.1.1.4, 2013/07/22 10:46:11 version 1.1.1.6, 2014/06/15 16:12:54
Line 44 Line 44
   
 #include "missing.h"  #include "missing.h"
 #include "alloc.h"  #include "alloc.h"
#include "error.h"#include "fatal.h"
 #include "lbuf.h"  #include "lbuf.h"
 #include "sudo_debug.h"  #include "sudo_debug.h"
   
Line 77  lbuf_destroy(struct lbuf *lbuf) Line 77  lbuf_destroy(struct lbuf *lbuf)
 }  }
   
 static void  static void
lbuf_expand(struct lbuf *lbuf, size_t extra)lbuf_expand(struct lbuf *lbuf, int extra)
 {  {
     if (lbuf->len + extra + 1 >= lbuf->size) {      if (lbuf->len + extra + 1 >= lbuf->size) {
         do {          do {

Removed from v.1.1.1.4  
changed lines
  Added in v.1.1.1.6


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