diff options
| author | Thibault "bui" Koechlin | 2017-12-28 17:04:06 +0100 |
|---|---|---|
| committer | jvoisin | 2017-12-28 17:04:06 +0100 |
| commit | 9f5e8d12f05fb24c915a5266a1e908a75c8aed08 (patch) | |
| tree | 9160075ea943c7fd29a3923f844a0ac0d6b8b457 /src/sp_network_utils.c | |
| parent | 62c48bf9a85e0294b7b32cea438e904e1cd50669 (diff) | |
Clang-format pass
- `clang-format --style="{BasedOnStyle: google, SortIncludes: false}" -i snuffleu*.c sp_*.c sp_*.h`
- Update the documentation accordingly
Diffstat (limited to 'src/sp_network_utils.c')
| -rw-r--r-- | src/sp_network_utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp_network_utils.c b/src/sp_network_utils.c index 6fc0b1f..51911a8 100644 --- a/src/sp_network_utils.c +++ b/src/sp_network_utils.c | |||
| @@ -91,9 +91,9 @@ int get_ip_and_cidr(char *ip, sp_cidr *cidr) { | |||
| 91 | char *mask = strchr(ip, '/'); | 91 | char *mask = strchr(ip, '/'); |
| 92 | 92 | ||
| 93 | if (NULL == mask) { | 93 | if (NULL == mask) { |
| 94 | sp_log_err("config", | 94 | sp_log_err( |
| 95 | "'%s' isn't a valid network mask, it seems that you forgot a '/'.", | 95 | "config", |
| 96 | ip); | 96 | "'%s' isn't a valid network mask, it seems that you forgot a '/'.", ip); |
| 97 | return -1; | 97 | return -1; |
| 98 | } | 98 | } |
| 99 | 99 | ||
