- scan.c:scan_irckline(): fixes to previous commit
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 2 Jun 2015 16:40:53 +0000 (16:40 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Tue, 2 Jun 2015 16:40:53 +0000 (16:40 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@6028 82007160-df01-0410-b94d-b575c5fd34c7

src/scan.c

index 4d90c1a1134030e930b81ff1f268bea594272b97..7ff9b6e8d6b07d3a264b7a8072e73279e7b2b0f3 100644 (file)
@@ -780,11 +780,12 @@ scan_irckline(const struct scan_struct *ss, const char *format, const char *type
     const void *data;
   } table[] =
   {
-    { 'i', NULL },
-    { 'h', NULL },
-    { 'u', NULL },
-    { 'n', NULL },
-    { 't', NULL }
+    { 'i',  NULL },
+    { 'h',  NULL },
+    { 'u',  NULL },
+    { 'n',  NULL },
+    { 't',  NULL },
+    { '\0', NULL }
   };
 
   table[0].data = ss->ip;