Changeset 108602e in mainline for ns/ns.c


Ignore:
Timestamp:
2006-05-15T15:33:51Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
51d6f80
Parents:
043dcc27
Message:

Fix typos and comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ns/ns.c

    r043dcc27 r108602e  
    104104        ipcarg_t retval, arg1, arg2;
    105105
    106         printf("%s: Name service started.\n", NAME);
     106        printf("%s: Naming service started.\n", NAME);
    107107       
    108108        if (!hash_table_create(&ns_hash_table, NS_HASH_TABLE_CHAINS, 3, &ns_hash_table_ops)) {
     
    149149                        retval = connect_to_service(IPC_GET_ARG1(call), &call, callid);
    150150                        break;
     151                case NS_HANGUP:
     152                        printf("Closing connection.\n");
     153                        retval = EHANGUP;
     154                        break;
    151155                case NS_PING:
    152156                        printf("Ping...%P %P\n", IPC_GET_ARG1(call),
     
    156160                        arg2 = 0xbeef;
    157161                        break;
    158                 case NS_HANGUP:
    159                         printf("Closing connection.\n");
    160                         retval = EHANGUP;
    161                         break;
    162162                case NS_PING_SVC:
    163163                        printf("NS:Pinging service %d\n", ping_phone);
     
    177177}
    178178
    179 /** Register server.
     179/** Register service.
    180180 *
    181181 * @param service Service to be registered.
     
    228228        hlp = hash_table_find(&ns_hash_table, keys);
    229229        if (!hlp) {
    230                 printf("Service %d noty registered.\n", service);
     230                printf("Service %d not registered.\n", service);
    231231                return ENOENT;
    232232        }
Note: See TracChangeset for help on using the changeset viewer.