Changing C++ comments to C comments. Please do not put C++ comments in C files, since it breaks some compilers. r=jst

This commit is contained in:
dbaron%fas.harvard.edu 2000-08-19 03:56:25 +00:00
parent 77fff625c9
commit f2899e13e7
2 changed files with 12 additions and 8 deletions

View File

@ -879,8 +879,9 @@ pref_saveLIPref(PLHashEntry *he, int i, void *arg)
{
char *tmp_str = str_escape(pref->userPref.stringVal);
//Error checks to be sure length not too long.
//18 refers to the number of characters in the "user_pref..." string.
/* Error checks to be sure length not too long.
18 refers to the number of characters in the "user_pref..."
string. */
if(((PL_strlen((char *) he->key)+PL_strlen(tmp_str))+18)>2048)
return PREF_BAD_PARAMETER;
@ -955,8 +956,9 @@ pref_savePref(PLHashEntry *he, int i, void *arg)
{
char *tmp_str = str_escape(pref->userPref.stringVal);
//Error checks to be sure length not too long.
//18 refers to the number of characters in the "user_pref..." string.
/* Error checks to be sure length not too long.
18 refers to the number of characters in the "user_pref..."
string. */
if(((PL_strlen((char *) he->key)+PL_strlen(tmp_str))+18)>2048)
return PREF_BAD_PARAMETER;

View File

@ -879,8 +879,9 @@ pref_saveLIPref(PLHashEntry *he, int i, void *arg)
{
char *tmp_str = str_escape(pref->userPref.stringVal);
//Error checks to be sure length not too long.
//18 refers to the number of characters in the "user_pref..." string.
/* Error checks to be sure length not too long.
18 refers to the number of characters in the "user_pref..."
string. */
if(((PL_strlen((char *) he->key)+PL_strlen(tmp_str))+18)>2048)
return PREF_BAD_PARAMETER;
@ -955,8 +956,9 @@ pref_savePref(PLHashEntry *he, int i, void *arg)
{
char *tmp_str = str_escape(pref->userPref.stringVal);
//Error checks to be sure length not too long.
//18 refers to the number of characters in the "user_pref..." string.
/* Error checks to be sure length not too long.
18 refers to the number of characters in the "user_pref..."
string. */
if(((PL_strlen((char *) he->key)+PL_strlen(tmp_str))+18)>2048)
return PREF_BAD_PARAMETER;