]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/db.cpp
Applied socket destruction bug patch
[wxWidgets.git] / src / common / db.cpp
index 2f19576485ff399148d0db3d47e994fb89914f62..a73b4221863e70b8c71d599f92529e248aae9c66 100644 (file)
@@ -3428,7 +3428,7 @@ bool wxDb::Catalog(const wxChar *userID, const wxString &fileName)
     wxChar    typeName[30+1];
     SDWORD    precision, length;
 
-    FILE *fp = wxFopen(fileName.c_str,wxT("wt"));
+    FILE *fp = wxFopen(fileName.c_str(),wxT("wt"));
     if (fp == NULL)
         return false;