Spelling fixes

This commit is contained in:
chase
2018-05-26 11:50:47 -05:00
committed by Jon Trulson
parent 8d2fe2486c
commit 809c3d8bb6
146 changed files with 240 additions and 240 deletions

View File

@@ -149,7 +149,7 @@ cmfns_description(
buf[size - 1] = '\0';
tmp_buf = strdup(name);
head = tmp_buf;
if ((tail = strchr(head, DTFNS_SEPERATOR)) == NULL) {
if ((tail = strchr(head, DTFNS_SEPARATOR)) == NULL) {
/*
* No colon. Either one of the special FNS names or
* it is not an FNS name
@@ -174,7 +174,7 @@ cmfns_description(
if (strcmp(head, DTFNS_ORG_NAME) == 0) {
/* Starts with org:. Get org */
head = tail;
if ((tail = strchr(head, DTFNS_SEPERATOR)) == NULL) {
if ((tail = strchr(head, DTFNS_SEPARATOR)) == NULL) {
/* just org:orgname */
strncpy(buf, head, size);
size -= strlen(buf);
@@ -186,7 +186,7 @@ cmfns_description(
org = head;
head = tail + 1;
if ((tail = strchr(head, DTFNS_SEPERATOR)) == NULL) {
if ((tail = strchr(head, DTFNS_SEPARATOR)) == NULL) {
/*
* Hmmm... We have "org:orgname:something"
* Just return the description for an organization

View File

@@ -38,7 +38,7 @@
#include <fns/fns.h>
#define DTFNS_SEPERATOR ':'
#define DTFNS_SEPARATOR ':'
#define DTFNS_ORG_NAME "org"
#define DTFNS_ORG_LEN 3