Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnModel.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.15 by maloninc, Fri Aug 26 11:17:51 2005 UTC revision 1.16 by maloninc, Mon Sep 12 21:44:33 2005 UTC
# Line 64  WikiList* mnModel::search(const char* se Line 64  WikiList* mnModel::search(const char* se
64    
65          /* searchStr to Tokens */          /* searchStr to Tokens */
66          token = strtok(outbuf, " ");          token = strtok(outbuf, " ");
67            if(token == NULL) return list;
68          tokenList[0] = (char*)malloc(strlen(token)+1);          tokenList[0] = (char*)malloc(strlen(token)+1);
69          snprintf(tokenList[0], strlen(token)+1, "%s", token);          snprintf(tokenList[0], strlen(token)+1, "%s", token);
70          i = 1;          i = 1;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26