Dotclear

Ticket #242 (closed enhancement: fixed)

Opened 17 years ago

Last modified 17 years ago

Appels incorrects à netHttp::initClient

Reported by: zeiram Owned by: olivier
Priority: lowest Milestone: 2.0
Component: module:core Version: 2.0 RC1
Severity: trivial Keywords:
Cc:

Description

À trois endroits dans le code (fichiers admin/blog_theme.php, admin/plugins.php et inc/core/class.dc.trackback.php), l'appel à la méthode netHttp::initClient se fait avec trois paramètres, alors que seuls deux sont définis dans le prototype de la méthode.  D'après Pep, il s'agit probablement des résidus d'anciens appels au constructeur.

Patch supprimant ce troisième paramètre et l'ajoutant en définition du timeout (quand il est différent de la valeur par défaut) en fichier joint.

Attachments

patch_initClient.diff Download (1.6 KB) - added by zeiram 17 years ago.

Change History

Changed 17 years ago by zeiram

comment:1 Changed 17 years ago by olivier

  • Priority changed from normal to lowest
  • Status changed from new to assigned
  • Type changed from defect to enhancement
  • Severity changed from minor to trivial

comment:2 Changed 17 years ago by olivier

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [1897]) Removed third argument in netHttp::iniClient calls. Closes #242.

Note: See TracTickets for help on using tickets.

Sites map