~ubuntu-branches/ubuntu/warty/proj/warty

« back to all changes in this revision

Viewing changes to src/nad2nad.c

  • Committer: Bazaar Package Importer
  • Author(s): Peter S Galbraith
  • Date: 2003-05-02 22:56:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20030502225605-psu6gl4cs31ezg9g
Tags: 4.4.7-3
autoreconf with libtool from unstable so that package may build on
mips (closes: #188684)

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
                case 5:
135
135
                        if (!(intag = strchr(intag, '=')) || *++intag == '\0')
136
136
                                emess(1,"hp missing name");
137
 
                        strcpy(io->hp = malloc(strlen(intag)+1), intag);
 
137
                        strcpy(io->hp = (char*)malloc(strlen(intag)+1), intag);
138
138
                        break;
139
139
                case 6: io->bin = 1; break;
140
140
                case 7: io->rev = 1; break;