ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/scan.c
(Generate patch)

Comparing hopm/trunk/src/scan.c (file contents):
Revision 6024 by michael, Sun May 31 13:44:37 2015 UTC vs.
Revision 6025 by michael, Tue Jun 2 16:33:41 2015 UTC

# Line 775 | Line 775 | scan_irckline(const struct scan_struct *
775    unsigned int len = 0;   /* position in message */
776    unsigned int size = 0;  /* temporary size buffer */
777    unsigned int i;
778 <  struct kline_format_assoc table[] =
778 >  struct kline_format_assoc
779    {
780 <    {'i', NULL },
781 <    {'h', NULL },
782 <    {'u', NULL },
783 <    {'n', NULL },
784 <    {'t', NULL }
780 >    const char key;
781 >    const void *data;
782 >  } table[] =
783 >  {
784 >    { 'i', NULL },
785 >    { 'h', NULL },
786 >    { 'u', NULL },
787 >    { 'n', NULL },
788 >    { 't', NULL }
789    };
790  
791    table[0].data = ss->ip;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)