freeswitch plugin: Rename the `Pass' option to `Password'.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 21 Jul 2009 06:45:03 +0000 (08:45 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 21 Jul 2009 06:45:03 +0000 (08:45 +0200)
`Password' is used by all the other plugins.

src/freeswitch.c

index b47c287..b4e40ea 100644 (file)
@@ -35,7 +35,7 @@
  *     <Plugin freeswitch>
  *             Host "127.0.0.1"
  *             Port "8021"
- *             Pass "ClueCon"
+ *             Password "ClueCon"
  *             <Command "api sofia status profile res-public">
  *                     Instance "profile-sofia-res-public"
  *                     <Match>
@@ -371,7 +371,7 @@ static int fs_complex_config (oconfig_item_t *ci)
                        if (fs_port != NULL) free (fs_port);
                        fs_port = strdup(child->values[0].value.string);
                }
-               else if (strcasecmp ("Pass", child->key) == 0)
+               else if (strcasecmp ("Password", child->key) == 0)
                {
                        if (fs_pass != NULL) free (fs_pass);
                        fs_pass = strdup(child->values[0].value.string);