Changeset 8163


Ignore:
Timestamp:
06/19/20 10:38:02 (3 weeks ago)
Author:
paulf
Message:

added rtrim() call to ewhtmlemail to remove trailing blanks from Google Earth Key related fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/reporting/ewhtmlemail/ewhtmlemail.c

    r8152 r8163  
    4040/* 1.2.9 - 2020-03-10 - worked on getting EmailRecipientWithinRegionMag to work*/ 
    4141/* 1.3.0 - 2020-05-13 - modified pick time text to include milliseconds */ 
    42  
    43 #define VERSION_STR "1.3.0 - 2020-05-13" 
     42/* 1.3.1 - 2020-06-19 - removed possible blanks from trailing GE key or secret strings */ 
     43 
     44#define VERSION_STR "1.3.1 - 2020-06-19" 
    4445 
    4546#define MAX_GE_MARKERS 20 
     
    871872         { 
    872873            strcpy(GE_key, k_str()); 
     874            rtrim(GE_key);      /* prototype in site.h, remove trailing blanks */ 
    873875         } 
    874876         else if ( k_its("GoogleEarthSecret") )  // optional for signing URL 
    875877         { 
    876878            strcpy(GE_secret, k_str()); 
     879            rtrim(GE_secret); 
    877880                /* decode the secret */ 
    878881            decoded_secret = b64_decode (GE_secret, strlen((const char *)GE_secret)); 
Note: See TracChangeset for help on using the changeset viewer.