Skip to content

Commit b372708

Browse files
committed
Rename httpFieldName to httpFieldString
1 parent 154a25e commit b372708

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

cups/http.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,11 +640,11 @@ httpFieldValue(const char *name) // I - String name
640640
}
641641

642642
//
643-
// 'httpFieldName()' - Return the field name for a HTTP field enumeration.
643+
// 'httpFieldString()' - Return the field name for a HTTP field enumeration.
644644
//
645645

646646
const char * // O - Field name
647-
httpFieldName(http_field_t field) // I - Field index
647+
httpFieldString(http_field_t field) // I - Field index
648648
{
649649
if (field >= HTTP_FIELD_ACCEPT && field < HTTP_FIELD_MAX)
650650
return (http_fields[field]);

cups/http.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ extern char *httpDecode64(char *out, size_t *outlen, const char *in, const char
445445
extern char *httpEncode64(char *out, size_t outlen, const char *in, size_t inlen, bool url) _CUPS_PUBLIC;
446446

447447
extern http_field_t httpFieldValue(const char *name) _CUPS_PUBLIC;
448-
extern const char *httpFieldName(http_field_t field) _CUPS_PUBLIC;
448+
extern const char *httpFieldString(http_field_t field) _CUPS_PUBLIC;
449449
extern void httpFlush(http_t *http) _CUPS_PUBLIC;
450450
extern int httpFlushWrite(http_t *http) _CUPS_PUBLIC;
451451

cups/libcups3.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ httpCopyPeerCredentials
375375
httpDecode64
376376
httpEncode64
377377
httpFieldValue
378-
httpFieldName
378+
httpFieldString
379379
httpFlush
380380
httpFlushWrite
381381
httpGetActivity

0 commit comments

Comments
 (0)