Diff for /embedaddon/sudo/common/atobool.c between versions 1.1 and 1.1.1.2

version 1.1, 2012/02/21 16:23:02 version 1.1.1.2, 2012/05/29 12:26:49
Line 39 Line 39
 #endif /* HAVE_STRINGS_H */  #endif /* HAVE_STRINGS_H */
   
 #include "missing.h"  #include "missing.h"
   #include "sudo_debug.h"
   
 int  int
 atobool(const char *str)  atobool(const char *str)
 {  {
       debug_decl(atobool, SUDO_DEBUG_UTIL)
   
     switch (*str) {      switch (*str) {
         case '0':          case '0':
         case '1':          case '1':
Line 77  atobool(const char *str) Line 80  atobool(const char *str)
                 return 0;                  return 0;
             break;              break;
     }      }
    return -1;    debug_return_int(-1);
 }  }

Removed from v.1.1  
changed lines
  Added in v.1.1.1.2


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