~ubuntu-branches/ubuntu/quantal/ncbi-tools6/quantal

« back to all changes in this revision

Viewing changes to api/wprint.c

  • Committer: Package Import Robot
  • Author(s): Aaron M. Ucko, Andreas Tille
  • Date: 2012-06-24 22:54:29 UTC
  • mfrom: (15.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120624225429-b91zwa0d9xanjlqb
Tags: 6.1.20120620-2
[ Andreas Tille ]
debian/upstream: Strings containing ': ' need to be quoted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
*
30
30
* Version Creation Date:   7/15/95
31
31
*
32
 
* $Revision: 6.74 $
 
32
* $Revision: 6.75 $
33
33
*
34
34
* File Description: 
35
35
*
431
431
                l = StringLen(link_ff);
432
432
                ll = StringLen("<a href=%sgi=%ld&id=%d&entity=%d>");
433
433
                s = (CharPtr)MemNew(l+ ll + 3*7);
434
 
                sprintf(s, "<a href=%sgi=%ld&id=%d&entity=%d>", 
435
 
                                                        link_ff, (Int4) gi, itemID, entityID);
 
434
                sprintf(s, "<a href=%sgi=%d&id=%ud&entity=%d>", 
 
435
                                                        link_ff, (Int4) gi, itemID, (Int4)entityID);
436
436
                AddLink(s);
437
437
                MemFree(s);
438
438
                ff_AddString(key);
475
475
                l = StringLen(link_muid);
476
476
                ll = StringLen("<a href=%suid=%ld&form=6&db=m&Dopt=r>");
477
477
                s = (CharPtr)MemNew(l+ ll + 10);
478
 
                sprintf(s, "<a href=%suid=%ld&form=6&db=m&Dopt=r>", 
 
478
                sprintf(s, "<a href=%suid=%d&form=6&db=m&Dopt=r>", 
479
479
                                                                                                link_muid, (Int4) muid);
480
480
                AddLink(s);
481
481
                MemFree(s);