diff --git a/swad_changelog.h b/swad_changelog.h index 8101eb24..6bb5d449 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -136,13 +136,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.208 (2016-05-01)" +#define Log_PLATFORM_VERSION "SWAD 15.208.1 (2016-05-01)" #define CSS_FILE "swad15.204.1.css" #define JS_FILE "swad15.197.js" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1 /* + Version 15.208.1: May 01, 2016 Minor fix to avoid warning related to size_t. (201438 lines) Version 15.208: May 01, 2016 Changes in config for swadberry.ugr.es. Removed cevuna.una.py from config. (201435 lines) Version 15.207.2: May 01, 2016 Fix bug in database table log_full. (201515 lines) diff --git a/swad_config.h b/swad_config.h index 51e0ac6a..ee49b287 100644 --- a/swad_config.h +++ b/swad_config.h @@ -219,8 +219,8 @@ #elif defined SWADBERRY_UGR_ES // swadberry.ugr.es ****************** -#define Cfg_PLATFORM_SHORT_NAME "SWAD local" -#define Cfg_PLATFORM_FULL_NAME "SWAD (Shared Workspace At a Distance)" +#define Cfg_PLATFORM_SHORT_NAME "SWADberry" +#define Cfg_PLATFORM_FULL_NAME "SWADberry (Shared Workspace At a Distance on a Raspberry Pi)" #define Cfg_PLATFORM_SERVER "150.214.190.151" // Server name (main part of the URL) #define Cfg_HTTPS_URL_SWAD_CGI "https://150.214.190.151/swad" // Without ending slash #define Cfg_HTTPS_URL_SWAD_PUBLIC "https://150.214.190.151/swad" // Without ending slash diff --git a/swad_parameter.c b/swad_parameter.c index bb1dd1a8..0878e830 100644 --- a/swad_parameter.c +++ b/swad_parameter.c @@ -77,6 +77,7 @@ bool Par_GetQueryString (void) char Method[256]; char ContentType[512]; char UnsignedLongStr[10+1]; + unsigned long UnsignedLong; strcpy (Method,getenv ("REQUEST_METHOD")); @@ -103,8 +104,9 @@ bool Par_GetQueryString (void) if (getenv ("CONTENT_LENGTH")) { strcpy (UnsignedLongStr,getenv ("CONTENT_LENGTH")); - if (sscanf (UnsignedLongStr,"%lu",&Gbl.Params.ContentLength) != 1) + if (sscanf (UnsignedLongStr,"%lu",&UnsignedLong) != 1) return false; + Gbl.Params.ContentLength = (size_t) UnsignedLong; } else return false; diff --git a/swad_text.c b/swad_text.c index d6dd0a29..0a83ee30 100644 --- a/swad_text.c +++ b/swad_text.c @@ -40521,23 +40521,23 @@ const char *Txt_TAGLINE = const char *Txt_TAGLINE_BR = # if L==1 - "plataforma de suport
a la docència (Raspberry Pi)"; + "plataforma de suport a la
docència (Raspberry Pi)"; # elif L==2 - "Plattform zur
Unterstützung der Lehre (Raspberry Pi)"; + "Plattform zur Unterstützung
der Lehre (Raspberry Pi)"; # elif L==3 - "platform to
support teaching (Raspberry Pi)"; + "platform to support
teaching (Raspberry Pi)"; # elif L==4 - "plataforma de apoyo
a la docencia (Raspberry Pi)"; + "plataforma de apoyo a la
docencia (Raspberry Pi)"; # elif L==5 - "plate-forme pour
appuyer l'enseignement (Raspberry Pi)"; + "plate-forme pour appuyer
l'enseignement (Raspberry Pi)"; # elif L==6 - "plataforma de apoyo
a la docencia (Raspberry Pi)"; // Okoteve traducción + "plataforma de apoyo a la
docencia (Raspberry Pi)"; // Okoteve traducción # elif L==7 - "piattaforma per
sostenere l'insegnamento (Raspberry Pi)"; + "piattaforma per sostenere
l'insegnamento (Raspberry Pi)"; # elif L==8 - "platforma do
wspierania nauczania (Raspberry Pi)"; + "platforma do wspierania
nauczania (Raspberry Pi)"; # elif L==9 - "plataforma de
apoio ao ensino (Raspberry Pi)"; + "plataforma de apoio
ao ensino (Raspberry Pi)"; # endif #endif