From 4d70a1cdf1cab29dde087f4224759a1a910524b4 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 6 Jan 2013 17:15:23 +0100 Subject: [PATCH] Whitespace and exclamation mark fixes --- bin/uniconv/uniconv.c | 8 ++++---- etc/afpd/auth.c | 2 +- etc/afpd/status.c | 4 ++-- etc/afpd/volume.c | 2 +- libatalk/cnid/cdb/cnid_cdb_close.c | 2 +- libatalk/cnid/cnid.c | 4 ++-- libatalk/cnid/dbd/cnid_dbd.c | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bin/uniconv/uniconv.c b/bin/uniconv/uniconv.c index 8a786a60..c8f80f52 100644 --- a/bin/uniconv/uniconv.c +++ b/bin/uniconv/uniconv.c @@ -184,8 +184,8 @@ static char *convert_name(char *name, struct stat *st, cnid_t cur_did) outlen = convert_charset(ch_to, ch_to, ch_mac, (char *)p, strlen((char *)p), (char *)q, sizeof(buffer) -2, &flags); if ((size_t)-1 == outlen) { /* it's not UTF8... */ - fprintf(stderr, "ERROR: conversion from '%s' to '%s' for '%s' in DID %u failed!!!\n", - from_charset, to_charset, name, ntohl(cur_did)); + fprintf(stderr, "ERROR: conversion from '%s' to '%s' for '%s' in DID %u failed!\n", + from_charset, to_charset, name, ntohl(cur_did)); return name; } @@ -441,11 +441,11 @@ static void help (void) fprintf (stdout, "\t-V\tPrint version and exit\n"); fprintf (stdout, "\t-h\tThis help screen\n\n"); fprintf (stdout, "WARNING:\n"); - fprintf (stdout, " Setting the wrong options might render your data unusable!!!\n"); + fprintf (stdout, " Setting the wrong options might render your data unusable!\n"); fprintf (stdout, " Make sure you know what you are doing. Always backup your data first.\n\n"); fprintf (stdout, " It is *strongly* recommended to do a `dry run' first and to check the\n"); fprintf (stdout, " output for conversion errors.\n"); - fprintf (stdout, " USE AT YOUR OWN RISK!!!\n\n"); + fprintf (stdout, " USE AT YOUR OWN RISK!\n\n"); } diff --git a/etc/afpd/auth.c b/etc/afpd/auth.c index 7569cfef..ce1556b6 100644 --- a/etc/afpd/auth.c +++ b/etc/afpd/auth.c @@ -997,7 +997,7 @@ int afp_getuserinfo(AFPObj *obj _U_, char *ibuf, size_t ibuflen _U_, char *rbuf, atalk_uuid_t uuid; ret = getuuidfromname( obj->username, UUID_USER, uuid); if (ret != 0) { - LOG(log_info, logtype_afpd, "afp_getuserinfo: error getting UUID !"); + LOG(log_info, logtype_afpd, "afp_getuserinfo: error getting UUID!"); return AFPERR_NOITEM; } LOG(log_debug, logtype_afpd, "afp_getuserinfo: got UUID: %s", uuid_bin2string(uuid)); diff --git a/etc/afpd/status.c b/etc/afpd/status.c index f42bf5ec..eb5b99b3 100644 --- a/etc/afpd/status.c +++ b/etc/afpd/status.c @@ -654,10 +654,10 @@ void set_signature(struct afp_options *options) { if (len == 0) { goto server_signature_auto; /* default */ } else if (len < 3) { - LOG(log_warning, logtype_afpd, "WARNING: signature string %s is very short !", options->signatureopt); + LOG(log_warning, logtype_afpd, "WARNING: signature string %s is very short!", options->signatureopt); goto server_signature_user; } else if (len > 16) { - LOG(log_warning, logtype_afpd, "WARNING: signature string %s is very long !", options->signatureopt); + LOG(log_warning, logtype_afpd, "WARNING: signature string %s is very long!", options->signatureopt); len = 16; goto server_signature_user; } else { diff --git a/etc/afpd/volume.c b/etc/afpd/volume.c index 3b02b239..da57a30a 100644 --- a/etc/afpd/volume.c +++ b/etc/afpd/volume.c @@ -613,7 +613,7 @@ static int volume_codepage(AFPObj *obj, struct vol *volume) } if ( NULL == (charset = find_charset_functions(volume->v_volcodepage)) || charset->flags & CHARSET_ICONV ) { - LOG (log_warning, logtype_afpd, "WARNING: volume encoding %s is *not* supported by netatalk, expect problems !!!!", volume->v_volcodepage); + LOG (log_warning, logtype_afpd, "WARNING: volume encoding %s is *not* supported by netatalk, expect problems!", volume->v_volcodepage); } if (!volume->v_maccodepage) diff --git a/libatalk/cnid/cdb/cnid_cdb_close.c b/libatalk/cnid/cdb/cnid_cdb_close.c index 92f8ce68..fcc01df2 100644 --- a/libatalk/cnid/cdb/cnid_cdb_close.c +++ b/libatalk/cnid/cdb/cnid_cdb_close.c @@ -13,7 +13,7 @@ void cnid_cdb_close(struct _cnid_db *cdb) { CNID_private *db; if (!cdb) { - LOG(log_error, logtype_afpd, "cnid_close called with NULL argument !"); + LOG(log_error, logtype_afpd, "cnid_close called with NULL argument!"); return; } diff --git a/libatalk/cnid/cnid.c b/libatalk/cnid/cnid.c index 0a977e6a..f0b8903d 100644 --- a/libatalk/cnid/cnid.c +++ b/libatalk/cnid/cnid.c @@ -47,7 +47,7 @@ void cnid_register(struct _cnid_module *module) /* Check if our module is already registered. */ list_for_each(ptr, &modules) if (0 == strcmp(list_entry(ptr, cnid_module, db_list)->name, module->name)) { - LOG(log_error, logtype_afpd, "Module with name [%s] is already registered !", module->name); + LOG(log_error, logtype_afpd, "Module with name [%s] is already registered!", module->name); return; } @@ -203,7 +203,7 @@ void cnid_close(struct _cnid_db *db) uint32_t flags; if (NULL == db) { - LOG(log_error, logtype_afpd, "Error: cnid_close called with NULL argument !"); + LOG(log_error, logtype_afpd, "Error: cnid_close called with NULL argument!"); return; } /* cnid_close free db */ diff --git a/libatalk/cnid/dbd/cnid_dbd.c b/libatalk/cnid/dbd/cnid_dbd.c index 32be8f47..c96a2259 100644 --- a/libatalk/cnid/dbd/cnid_dbd.c +++ b/libatalk/cnid/dbd/cnid_dbd.c @@ -513,7 +513,7 @@ void cnid_dbd_close(struct _cnid_db *cdb) CNID_private *db; if (!cdb) { - LOG(log_error, logtype_cnid, "cnid_close called with NULL argument !"); + LOG(log_error, logtype_cnid, "cnid_close called with NULL argument!"); return; } -- 2.39.2