Changeset 170 for trunk/src/sh_prelude.c
- Timestamp:
- Apr 30, 2008, 11:56:45 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_prelude.c
r169 r170 723 723 *tmp = '\0'; 724 724 725 /* Get interface 726 */ 725 727 ip = strdup(ptr); 726 728 if ( ip ) { … … 769 771 *tmp = '\0'; 770 772 773 /* Get port number 774 */ 771 775 port = strtol(ptr, &end, 0); 772 776 if ( *ptr && *end == '\0' && port >= 0 && port < 65536) { … … 810 814 *tmp = '\0'; 811 815 816 /* Get service 817 */ 812 818 srv = strdup(ptr); 813 819 if ( srv ) { … … 830 836 } 831 837 832 ret = idmef_service_new_ ident(service, &str);838 ret = idmef_service_new_name(service, &str); 833 839 if ( ret < 0 ) { 834 840 free(srv);
Note:
See TracChangeset
for help on using the changeset viewer.