]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/ipaccess.c
Strtonum: Support u32 and s32
[libucw.git] / ucw / ipaccess.c
index a01109c8f4f0677111f54d6e6720c626ba97358a..d9ff9ee13b19960ed76be5e043d4e63e7cbd2702 100644 (file)
@@ -7,12 +7,12 @@
  *     of the GNU Lesser General Public License.
  */
 
-#include "ucw/lib.h"
-#include "ucw/clists.h"
-#include "ucw/conf.h"
-#include "ucw/getopt.h"
-#include "ucw/fastbuf.h"
-#include "ucw/ipaccess.h"
+#include <ucw/lib.h>
+#include <ucw/clists.h>
+#include <ucw/conf.h>
+#include <ucw/getopt.h>
+#include <ucw/fastbuf.h>
+#include <ucw/ipaccess.h>
 
 #include <string.h>
 
@@ -40,7 +40,7 @@ addrmask_parser(char *c, void *ptr)
     return err;
   if (p)
     {
-      uns len;
+      uint len;
       if (!cf_parse_int(p, &len) && len <= 32)
        am->mask = ~(len == 32 ? 0 : ~0U >> len);
       else if (cf_parse_ip(p, &am->mask))